home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir34 / katlog.zip / KATBOOK.OQT / katbook.out
Text File  |  1989-04-01  |  208KB  |  4,137 lines

  1.  
  2.                                     DBS-KAT (R)
  3.  
  4.                             The Easy, Practical, Super
  5.                             Capacity Diskette Cataloger
  6.                            And Hard Disk Archive Utility
  7.  
  8.  
  9.                                     USER MANUAL
  10.  
  11.  
  12.                                         by
  13.                                     R.H. Martin
  14.  
  15.  
  16.  
  17.                               Applied Foresight Inc.
  18.                                   P.O. Box 20607
  19.                              Bloomington, Minn. 55420
  20.  
  21.  
  22.                                    April 1, 1989
  23.  
  24.  
  25.  
  26.  
  27.                            Copyright 1986 by R.H. Martin
  28.                                 All Rights Reserved
  29.  
  30.  
  31.  
  32.                           A DB-ShareWare Software Product
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.                     A limited license is hereby granted to copy
  40.                   and distribute wholly unmodified copies of the
  41.                DBS-KAT Software Diskette which contains this manual
  42.  
  43.                    (Read the manual, "THE DB-SHAREWARE PROGRAM"
  44.                    for full details about this limited license)
  45.  
  46.  
  47.  
  48.              (DBS-KAT was originally released under the name, PC-KAT)
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 2
  57.  
  58.  
  59.  
  60.                                  TABLE OF CONTENTS
  61.                                  -----------------
  62.  
  63.      Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
  64.      About This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
  65.       General
  66.         Trademarks
  67.      Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
  68.       Overview
  69.       Philsophy Of DBS-KAT
  70.       Using DBS-KAT With The IBM AT
  71.         DBS-KAT Base System Features
  72.      Hardware Requirements . . . . . . . . . . . . . . . . . . . . . . . . . 7
  73.         Minimum Requirements
  74.         Recommended Options
  75.         Commentary
  76.      Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
  77.         Overview
  78.         Installation Instructions
  79.         Installation For Non-IBM Compatible MS-DOS PC
  80.         Additional Install Information For Hard Disk Users
  81.            Who Power On Their Computer With A Startup Diskette
  82.      Updating The DBS-KAT System Control Record. . . . . . . . . . . . . . .13
  83.      Cataloging Diskettes. . . . . . . . . . . . . . . . . . . . . . . . . .21
  84.      Inquiring Against The DBS-KAT Catalog . . . . . . . . . . . . . . . . .26
  85.      Taking Care of Your Database. . . . . . . . . . . . . . . . . . . . . .30
  86.       Overview
  87.       Conservative Updating
  88.       Backup
  89.         The Log File
  90.       Integrity Analysis
  91.      Trouble Shooting Tips . . . . . . . . . . . . . . . . . . . . . . . . .34
  92.      Online Assistance . . . . . . . . . . . . . . . . . . . . . . . . . . .35
  93.      Appendix A: The KPRINT Print Program. . . . . . . . . . . . . . . . . .36
  94.      Appendix B: KATSCAN Hard Disk Archive Utility Documentation . . . . . .37
  95.      Appendix C: KATASK Batch Menu Facilitator Program . . . . . . . . . . .38
  96.      Appendix D: Provided DBS-KAT Files. . . . . . . . . . . . . . . . . . .39
  97.      Appendix E: Minimum Computer Files Needed To Operate DBS-KAT. . . . . .40
  98.      Appendix F: Why DOS 2.X Users Should Update To DOS 3.2 or DOS 3.3 . . .41
  99.  
  100.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 3
  101.  
  102.  
  103.                                  ABOUT THIS MANUAL
  104.                                  -----------------
  105.  
  106.                                       GENERAL
  107.  
  108.      A section is designated by a centered & underlined heading. Centered but
  109.      NOT underlined headings are referred to as a subsection.
  110.  
  111.      Absolutely, do not use DBS-KAT prior to thoroughly following the
  112.      installation instructions, including restarting your computer after fol-
  113.      lowing the installation instructions.
  114.  
  115.      This manual explains what you minimally need to read in order to use the
  116.      software. After you are comfortable with the program, or if you have
  117.      additional questions, you can print out & read the TECHNICAL REFERENCE
  118.      MANUAL.
  119.  
  120.      Please read each section of this manual before using DBS-KAT. It won't
  121.      take you long.
  122.  
  123.  
  124.                                     TRADEMARKS:
  125.  
  126.      "COMPAQ & COMPAQ PLUS" are trademarks of COMPAQ Corporation.
  127.      "MS-DOS" is a trademark of Microsoft Corporation.
  128.      "PC-DOS & IBM" are trademarks of International Business Machines Corp.
  129.      "PC-WRITE & Quicksoft" are trademarks of Quicksoft.
  130.      "DB-VISTA" is a trademark of RAIMA Corporation.
  131.      "Lattice" is a trademark of Lattice Inc.
  132.  
  133.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 4
  134.  
  135.  
  136.                                    INTRODUCTION
  137.                                    ------------
  138.  
  139.                                      OVERVIEW
  140.  
  141.      DBS-KAT is an easy, practical, super capacity diskette cataloger for
  142.      owners of IBM PC computers & compatibles. Without sacrificing processing
  143.      performance, it can manage up to 9,999 diskettes & 16 million filenames
  144.      in one central database.
  145.  
  146.      Three support & companion programs to DBS-KAT are included on the DBS-KAT
  147.      base system diskette: KATSCAN, KPRINT & KATASK.  KATSCAN is a stand-alone
  148.      program for managing & locating files on a user's hard disk.  KPRINT is a
  149.      print program for programmers.  KATASK is not documented outside of this
  150.      manual, but is a program that enables a user to respond to a menu display
  151.      inside a DOS batch command file.  All of these programs are used by DBS-
  152.      KAT & need to be installed along with the other DBS-KAT software.
  153.      Although this manual explains how to print out the documentation for
  154.      KATSCAN & KPRINT, they are not discussed in this manual.  Appendix C
  155.      documents the KATASK program.
  156.  
  157.      DBS-KAT is primarily aimed at hard disk owners, who utilize floppy dis-
  158.      kettes or removeable disk cartridges. However, if the hard disk owner has
  159.      a tape device, such as made by ADIC (Advanced Digital Information Corp.,
  160.      Redmond, WA), which fools DOS into thinking it is a large diskette, then
  161.      DBS-KAT should be able to process the filenames on those tape cartridges.
  162.      If you are able to do so on a non-ADIC made tape drive, please report
  163.      your success to Applied Foresight.
  164.  
  165.      There are other diskette catalogers, all of which seem to be addressed to
  166.      floppy disk owners, for only one of them can contain more than a few
  167.      thousand file names, & that one only 32,000 file names (however, it costs
  168.      $69). These other products, in the reviewed version levels, respectively
  169.      can only handle a maximum of 780, 3000 & 4,326 filenames in one diskette
  170.      catalog file.
  171.  
  172.      DBS-KAT is 99% written in the C programming language (Lattice C), the
  173.      remainder in Assembler. It uses a run-time royalty-free & license-free
  174.      network model database manager, called DB-VISTA by RAIMA Corporation,
  175.      11717 Rainier Avenue South, Seattle, WA 98178.
  176.  
  177.      Another benefit of DBS-KAT is the printer program which printed this
  178.      manual for you. KPRINT has an abundant number of printer features which
  179.      makes it ideal for printing out source code of programs & other types of
  180.      plain ASCII files. It has gone through over 35 upgrades because of
  181.      numerous upgrade requests. Online help is available by just typing in
  182.      KPRINT & pressing the ENTER key.
  183.  
  184.  
  185.                                PHILSOPHY OF DBS-KAT
  186.  
  187.      DBS-KAT follows the DB-SHAREWARE distribution concept, developed by DBS-
  188.      KAT's author & separately explained in THE DB-SHAREWARE PROGRAM manual.
  189.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 5
  190.  
  191.  
  192.  
  193.      The purpose of the DBS-KAT software is to maintain a master catalog of
  194.      all diskette filenames that can be inquired against quickly to inform you
  195.      which diskette(s)  contains the filename(s) you are looking for.
  196.  
  197.      Simply put, DBS-KAT requires that you physically label all your diskettes
  198.      starting with the label 0001 up through 9999 & that you stack your dis-
  199.      kettes sequentially in numeric order. Although, you are recommended to
  200.      software label these diskettes (DBS-KAT lets you do this while within the
  201.      program; DOS lets you do this with the FORMAT /V or LABEL programs), DBS-
  202.      KAT does not require it & supports cataloging diskettes with or without
  203.      existing volume labels. It makes no difference how unrelated any neigh-
  204.      boring sequenced diskette is, for DBS-KAT will provide the logical orga-
  205.      nization to your diskettes. Then all you have to do is let DBS-KAT "look"
  206.      at each one of your diskettes as they are used.
  207.  
  208.      Simply doing this, DBS-KAT can always tell you quickly where is something
  209.      you want. You can start using your diskettes to contain critically needed
  210.      current files. You can delay updating the hard disk capacity of your com-
  211.      puter. You can start thinking of your diskettes as being as accessible to
  212.      you as another hard disk subdirectory, for you will be able to find out
  213.      directory information about any file you have worked with, regardless of
  214.      whether it is currently on your hard disk or now on a floppy.
  215.  
  216.      The philosophy of DBS-KAT is to make managing your diskette filenames as
  217.      effortless as possible. Once you have installed DBS-KAT, & set up your
  218.      system control record, the minimal amount of typing you have to do in the
  219.      lifetime of a single diskette, while you are inside the DBS-KAT program,
  220.      is to assign a 4 digit ID number, once, to the diskette. Everything else
  221.      is automatically done for you based upon the directory information con-
  222.      tained on the diskette & the default information for diskettes existing
  223.      in the system control record.
  224.  
  225.      Alternatively, if you so desire, you can maintain unique information
  226.      about individual diskette volumes. When you run the DBS-KAT program, you
  227.      indicate whether you want to be prompted for manual entry of volume label
  228.      textual information or whether you desire to avoid these prompts & to
  229.      instead have default information apply.
  230.  
  231.  
  232.                           USING DBS-KAT WITH THE IBM AT
  233.  
  234.      The subdirectory which a diskette file may optionally reside in is
  235.      cataloged by DBS-KAT without requiring any action by the user. Many IBM
  236.      AT owners may appreciate this feature.  With the 1.2 MB capacity
  237.      floppies, there is increasing use of making subdirectories on floppies.
  238.      You do not need an IBM AT to make subdirectories on your floppies. Just
  239.      type: MD A:\SUBDIR & press ENTER to create the directory called, \SUBDIR,
  240.      on drive A.
  241.  
  242.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 6
  243.  
  244.  
  245.  
  246.                            DBS-KAT BASE SYSTEM FEATURES
  247.  
  248.      The KATBOOK print procedure printed a two page (80 column printout) equi-
  249.      valent of the DBS-KAT overview page. Everything described on the overview
  250.      page is on this diskette.  This is NOT demo software!
  251.  
  252.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 7
  253.  
  254.  
  255.                                HARDWARE REQUIREMENTS
  256.                                ---------------------
  257.  
  258.                                MINIMUM REQUIREMENTS
  259.  
  260.      You minimally need the following for DBS-KAT:
  261.  
  262.         256K RAM memory free (320 KB RAM available);
  263.         Fixed Hard Disk -- see exception note below;
  264.         80-column monitor;
  265.         MS-DOS or PC-DOS 3.0 or higher (see Appendix F is you have DOS 2.X);
  266.         a CONFIG.SYS file [create or modify yours as instructed in this
  267.          manual];
  268.         IBM PC,XT,AT,PS/2 or compatible
  269.  
  270.      You are advised to have at least 262,144 bytes of RAM or 256K RAM free
  271.      before running DBS-KAT. Therefore, you should have at least 320K RAM
  272.      available. DBS-KAT may run slightly under that amount of RAM free space,
  273.      but you do so at your own risk.
  274.  
  275.  
  276.                                 RECOMMENDED OPTIONS
  277.  
  278.      The following options are recommended.
  279.  
  280.         a computer printer capable of continuous printing & printing 80
  281.            columns per line;
  282.         a RAM disk-emulator (requires additional memory & RAM software) to
  283.            hold frequently called subprograms & run-time, temporary work
  284.            files;
  285.  
  286.      The printer will allow you to use those options which utilize the
  287.      printer. The RAM disk-emulator will not give you any extra features, but
  288.      will provide better performance. If you are a novice DOS 3.00+ user, you
  289.      don't need to immediately worry about what a "RAM disk" is & how to
  290.      create one. Over the weeks or months that you use DBS-KAT, you might want
  291.      to buy a DOS tutorial book, which will educate you about DOS & what a
  292.      "RAM DISK" is. But for now, ignore discussions about "RAM DISKS".
  293.  
  294.      PC-DOS 3.0 supplies the capability to create a RAM disk. If you consider
  295.      yourself past the DOS novice stage, read up on your CONFIG.SYS &
  296.      VDISK.SYS files.
  297.  
  298.  
  299.                                     COMMENTARY
  300.  
  301.      In lieu of a fixed hard disk, if you own an IBM AT with dual floppy
  302.      drives, one of them being a high capacity 1.2 MB disk drive, you could
  303.      conceivably use this software.
  304.  
  305.      With the DBS-KAT software, cataloging 200 diskettes & 5,000 filenames
  306.      will require less than 654 KB of space. This 654 KB figure includes the
  307.      DBS-KAT software space requirements.
  308.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 8
  309.  
  310.  
  311.  
  312.      You may ask: "How will DBS-KAT help me avoid needing extra hard disk
  313.      space if DBS-KAT will swallow so much disk space?"  The answer is that if
  314.      you could rapidly access data files from your diskettes as easy as you
  315.      currently do a DOS DIR command for the location of a desired file & your
  316.      subsequent change to another hard disk directory to access that file
  317.      (else your COPY command against that file residing in the other
  318.      directory), then chances are that you would find yourself with 20-40%
  319.      more free space on your hard disk.
  320.  
  321.      DBS-KAT allows you to offload between 20-40% of your hard disk space,
  322.      which is probably now eaten up by moderately or infrequently accessed
  323.      data files, on to floppies. You can leave your hard disk to keep
  324.      executeable programs & required companion files (e.g., program Help or
  325.      Screen files), as well as constantly accessed data files or databases.
  326.      You are advised to always offload files twice to different diskettes
  327.      before deleting these files on your hard disk.
  328.  
  329.      There are other reasons for DBS-KAT, which offset the disk space that
  330.      DBS-KAT imposes. These other reasons are rapid access to archived files &
  331.      prior version files. If you acquire the add-on software modules, you'll
  332.      have additional reasons to put up with the slight loss of hard disk space
  333.      because of DBS-KAT. Type KAT -O for a printout about the add-on software
  334.      modules.
  335.  
  336.  
  337.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 9
  338.  
  339.  
  340.                                    INSTALLATION
  341.                                    ------------
  342.  
  343.  
  344.                                      OVERVIEW
  345.  
  346.      Installation requires that you configure your operating system
  347.      environment to satisfactorily accomodate database management processing &
  348.      that you install the software on your hard disk.
  349.  
  350.      For those users who understand DOS well & are impatient to proceed on to
  351.      the next section, I'll state the installation procedure fast. If you
  352.      don't know what is being talked about, skip the following subsection &
  353.      print out & refer to the accompanying manual, INSTALLATION FOR NEW COM-
  354.      PUTER USERS. In that manual, you'll be walked through the installation
  355.      procedure step-by-step, slowly.
  356.  
  357.      At the end of either installation method, you'll end up with some install
  358.      files that don't need to be on your hard disk. Appendix E lists the files
  359.      which the install process has you put on your drive. To delete the
  360.      unneeded files from your hard disk, position your cursor in the same
  361.      directory on your hard disk where you installed DBS-KAT & type:
  362.          DEL  KATAD.*
  363.          DEL  USQ.*
  364.          DEL  KATBOOK*.*
  365.          DEL  *.EQE
  366.          DEL  *.FQM
  367.          DEL  READ.ME
  368.  
  369.      If you have problems installing, or with DBS-KAT, refer to the section in
  370.      this manual, "Trouble Shooting Tips."
  371.  
  372.  
  373.                           SHORT INSTALLATION INSTRUCTIONS
  374.                          FOR THE DOS 3.0+ EXPERIENCED USER
  375.  
  376.      Installation requires the following specific acts (assume drive A is a
  377.      floppy & drive C is a hard disk):
  378.  
  379.         1.  Make a duplicate copy of your DBS-KAT diskette for archival pur-
  380.             poses.
  381.  
  382.         2.  Put the DBS-KAT diskette in drive A. Type:
  383.             C:
  384.             MD  \DBSKAT
  385.             COPY  A:KATDB.*  C:\DBSKAT/V
  386.  
  387.             You are highly recommended to put your KATDB.* files in the sub-
  388.             directory, \DBSKAT. If you put them in any other subdirectory,
  389.             then you must always invoke a DBS-KAT program with a -L option &
  390.             be sitting in that directory at run time. Specific syntax examples
  391.             are given later. (If you install the KATDB.* files in the root
  392.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 10
  393.  
  394.  
  395.             directory, DBS-KAT will detect that without you having to first
  396.             move their as well.)
  397.  
  398.             Putting the KATDB.* files in \DBSKAT, means that you can be any-
  399.             where on your hard disk & from that location run DBS-KAT. However,
  400.             if you install the DBSKAT programs there, this assumes that you
  401.             have a PATH statement which minimally encompasses the \DBSKAT
  402.             directory. The following PATH statement might be a typical path
  403.             statement to use:
  404.                PATH=C:\;C:\DOS;C:\UTIL;C:\DBSKAT
  405.  
  406.             If you need to create or update your PATH statement, include the
  407.             PATH command line (such as the above) in your C:\AUTOEXEC.BAT
  408.             file. If you don't have a C:\AUTOEXEC.BAT file, then minimally
  409.             create one which looks like the one below. Use any editor which
  410.             can update a plain vanilla ASCII file (e.g., EDLIN, PC-WRITE, EC).
  411.             The PROMPT line is optional. It will show you to the left of the
  412.             prompt sign, your current directory area. A minimal
  413.             C:\AUTOEXEC.BAT file should include:
  414.                DATE
  415.                TIME
  416.                PATH=C:\;C:\DOS;C:\UTIL;C:\DBSKAT
  417.                PROMPT ($P)
  418.  
  419.             If you are DOS 1.1 experienced, the filename "C:\MYFILE", means a
  420.             file, of the name "MYFILE" which resides in the root directory "\"
  421.             of drive "C:". If your cursor is positioned already in the root
  422.             directory of C:, then you can ignore the "\" symbol.
  423.  
  424.         3.  Put the remaining DBS-KAT diskette files somewhere along your PATH
  425.             (or \DBSKAT if you've updated your PATH statement). Include in
  426.             your path, your DOS programs, BACKUP, RESTORE, SORT, MORE &
  427.             FORMAT. (I suggest these programs and your path support them in a
  428.             directory called \DOS.)  If you don't have or want a PATH
  429.             statement in your environment, put all the DBS-KAT files except
  430.             KATDB.* in your root directory and the KATDB.* files in \DBSKAT.
  431.  
  432.             For instance, to put everything in your root directory, change
  433.             your current drive to your hard disk & issue the following com-
  434.             mands:
  435.                CD  \
  436.                COPY  A:*.*  C:\/V
  437.                A:
  438.                KATBOOK
  439.                (choose the option to decompress & install the DBS-KAT
  440.                 programs in the current hard disk directory)
  441.  
  442.         4.  Either create, update, or verify that your C:\CONFIG.SYS file
  443.             exists & has the following two lines in it:
  444.                FILES=20
  445.                BUFFERS=15
  446.             If you have an IBM AT, you could make the BUFFERS=25 instead.
  447.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 11
  448.  
  449.  
  450.             The BUFFERS line is not needed by DBS-KAT, but since you're
  451.             changing CONFIG.SYS, you might as well optimize your BUFFERS line.
  452.  
  453.         5.  This is an optional step & not required. If you don't have a RAM
  454.             disk, proceed to step 6.
  455.  
  456.             If you have a RAM disk, which is uploaded with files at power up
  457.             time with file copying going on in your C:\AUTOEXEC.BAT file, con-
  458.             sider putting the following files in your RAM disk. This is not
  459.             required, but will give you performance improvement. The files
  460.             include SORT.EXE, which comes on your DOS diskette. The files that
  461.             you should consider putting in your RAM disk are:
  462.                SORT.EXE
  463.                KATSCAN.EXE
  464.  
  465.             Consider leaving spare space on your RAM disk of at least 30,000
  466.             bytes. This empty space can be used by DBS-KAT for its run-time,
  467.             temporary work files. The names of these run-time files are
  468.             KATWORK1.DIR & KATWORK2.DIR. You may have to update your
  469.             C:\CONFIG.SYS if your RAM disk space alottment is done in that
  470.             file. If you use IBM AT high capacity floppies & store a high
  471.             number of files on them, you may need to allocate more than 30,000
  472.             bytes to accomodate these work files.
  473.  
  474.             Put the drive designation for your RAM disk at the start of the
  475.             left hand side of your PATH statement, so that your RAM disk gets
  476.             looked at first down your PATH. If drive D is your RAM disk, then
  477.             minimally your PATH statement should include:
  478.                PATH=D:\;C:\;C:\DOS;C:\UTIL;C:\DBSKAT
  479.  
  480.             To avoid DOS executing these two programs from your hard disk,
  481.             make sure that SORT.EXE & KATSCAN.EXE will not exist in any PATH
  482.             directory other than D:\, nor let them exist in the current
  483.             directory where you have your DBS-KAT database.  Consider creating
  484.             a directory called \OFFPATH & moving these two files there.  In
  485.             your \AUTOEXEC.BAT file copy the \OFFPATH directory to your RAM
  486.             disk.
  487.  
  488.         6.  If you updated CONFIG.SYS or AUTOEXEC.BAT, restart your computer
  489.             now.  DO NOT SKIP THIS STEP!
  490.  
  491.         7.  Excepting those with less than 100% IBM PC Compatibility
  492.             (including those who use a Hercules monochrome/graphics card) or
  493.             those who power on their computer with a startup diskette, you can
  494.             go to the next section, "Updating The DBS-KAT System Control
  495.             Record."  Those whose computers are neither IBM nor as compatible
  496.             to an IBM as a COMPAQ is, should read the next subsection before
  497.             proceeding to the next section. Those who use a startup diskette
  498.             should read the section immediately following.
  499.  
  500.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 12
  501.  
  502.  
  503.  
  504.                    INSTALLATION FOR NON-IBM COMPATIBLE MS-DOS PC
  505.                        OR ANY BRAND PC WITH A HERCULES CARD
  506.  
  507.      The author has not tested this software on non-IBM compatible MS-DOS com-
  508.      puters. It was developed on a COMPAQ PLUS computer however. The rapid
  509.      display of DBS-KAT's signon & usage screen is the most IBM specific piece
  510.      of code knowingly used. As said, this does work on a COMPAQ PLUS.
  511.      However, it might not work on less compatible MS-DOS computers. For sure,
  512.      the default fast screen method does not work with a Hercules
  513.      Monochrome/Graphics Card.  For this reason, the user can disable this
  514.      direct IBM-type screen use.
  515.  
  516.      To do this, type in the following, with your prompt at the "C" level.
  517.      Type:   ECHO  X>\IAMNOTAN.IBM   & press the ENTER key. This is all you
  518.      have to do. What you've done is create a one byte file in your root
  519.      directory of your hard disk. The drive must be the same as the drive
  520.      where your database resides. DBS-KAT will utilize a less machine specific
  521.      screen display method if it finds this file to exist.
  522.  
  523.  
  524.                 ADDITIONAL INSTALL INFORMATION FOR HARD DISK USERS
  525.                 WHO POWER ON THEIR COMPUTER WITH A STARTUP DISKETTE
  526.  
  527.      1. These instructions will assume that drive A is your floppy & that
  528.         drive C is your hard disk. Also assumed is that during your following
  529.         the installation instructions, that you inspected, & if needed,
  530.         updated the CONFIG.SYS & AUTOEXEC.BAT on a bootup floppy diskette.
  531.         Insert your bootup floppy in drive A. Make sure you don't have a
  532.         write-protect tape on your floppy. If so, temporarily remove it.
  533.  
  534.      2. Type: COPY A:COMMAND.COM C:\/V & press ENTER. If you ever update your
  535.         operating system, be sure to repeat this operation with the new
  536.         COMMAND.COM.
  537.  
  538.      3. You must add a "SET COMSPEC" line to your AUTOEXEC.BAT file first so
  539.         that DBS-KAT will think you powered on off your hard disk. Do the
  540.         below:
  541.         3.A.  At the "C" prompt, type: EDLIN A:AUTOEXEC.BAT
  542.         3.B.  At the "*" EDLIN prompt, type: I
  543.         3.C.  Type: SET COMSPEC=C:\COMMAND.COM
  544.         3.D.  Press the F6 function key & press ENTER.
  545.         3.E.  Type: E
  546.  
  547.      4. Restart your computer now, using your updated bootup floppy disk. If
  548.         you have a backup of your bootup floppy disk, make sure the backup
  549.         gets the new AUTOEXEC.BAT put on it. You must do this restart of your
  550.         computer in order for DBS-KAT to work correctly.
  551.  
  552.  
  553.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 13
  554.  
  555.  
  556.                     UPDATING THE DBS-KAT SYSTEM CONTROL RECORD
  557.                     ------------------------------------------
  558.  
  559.      Before you can regularly use DBS-KAT to process & inquire against dis-
  560.      kettes, you must first update DBS-KAT's System Control Record, which
  561.      keeps track of your database as well as holding your default value
  562.      entries.
  563.  
  564.      This manual explains the program prompts. You can then actually update
  565.      your system control record, taking mostly the default values, except
  566.      where it is obvious that you should over-ride the provided default. If
  567.      you update your system control record after reading this section, come
  568.      back to this manual & read the remaining sections before using the rest
  569.      of DBS-KAT's features.
  570.  
  571.      You minimally only need to update your system control record during DBS-
  572.      KAT's install process. The program used to update the system control
  573.      record is a subprogram within the inquiry program, KATLOOK.EXE.
  574.  
  575.      To perform this, you should be somewhere on your "C" drive with your
  576.      prompt ready to receive a command. Either type: KATLOOK -M & press ENTER
  577.      or type: KAT -M & press ENTER. Don't forget the minus sign (hereafter
  578.      called the "dash") if you type: KAT -M. Typing KATLOOK -M will actually
  579.      load the program faster, as the other method first loads the KAT program
  580.      which in turns loads KATLOOK with the "-M" option.
  581.  
  582.      If you installed DBS-KAT in a subdirectory, type either KATLOOK -ML or
  583.      KAT -ML.
  584.  
  585.      After receiving a logo display, you'll get the message "No System Control
  586.      Record, --Putting you into add mode."  You'll be prompted for a variety
  587.      of fields, in each case you'll be shown the allowed maximum width of your
  588.      answer. In some cases, you'll be shown a default answer you'll get if you
  589.      just press ENTER. The prompts that you will be shown are reproduced
  590.      below. Supporting comments are provided, when needed, alongside.
  591.  
  592.      Alternatively, if you have previously added a System Control Record,
  593.      you'll be put in the update mode where the prompts are so similar, that
  594.      they do not needed to be documented here. However, you are not allowed by
  595.      this program to update the database owner's name, once you insert it into
  596.      your database. This is because of the security arrangement of DB-
  597.      SHAREWARE, -see the manual on DB-SHAREWARE for more information.
  598.  
  599.      When DBS-KAT is done processing the system control record, your database
  600.      is closed & you are exited back to the DOS prompt.
  601.  
  602.      For the current software release of DBS-KAT, you are unable to change the
  603.      database owner's password, which is the password needed to change the
  604.      user's password. The reason for this is unrelated to security reasons, &
  605.      if enough users request it, the ability to change this password will be
  606.      allowed in a future release.
  607.  
  608.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 14
  609.  
  610.  
  611.      However, if you misspell your name or the database owner's password, you
  612.      are allowed at the end of the system control add function to start the
  613.      add process over again. Once you've added the system control record, then
  614.      unless you want to start again with a totally empty database, you will be
  615.      unable to change these two fields again using this program.
  616.  
  617.      You can update the database owner's name, by ordering an add-on software
  618.      module, because on the order form (type: KAT -O), you specify the new (or
  619.      same) database owner's name which the add-on software program will use to
  620.      update your old database.
  621.  
  622.      All prompts require a response except where specified as "optional."
  623.      When you are given a default response (shown above the allocated space
  624.      for your answer), you can take the default response by just pressing the
  625.      ENTER key.
  626.  
  627.      Many of these prompts will be repeated during each diskette you process,
  628.      unless you chose at run time to have DBS-KAT skip prompting you & to
  629.      instead use the default answers set up in the system control record.
  630.      These prompts which are capable of being repeated for each diskette being
  631.      processed have the parenthetical statement "(for diskette vol. info.)"
  632.      shown beneath the prompt. At run time, the actual wording of the prompts
  633.      may in some cases be up to 10 percent longer. For space reasons, they are
  634.      shortened here to allow more space for the right hand commentary.
  635.  
  636.      PROMPT -----------------   COMMENT---------------------------------------
  637.  
  638.      Database Owner's Name      You are required to enter your name or that of
  639.                                 your company. This name will be shown to you
  640.                                 each time that you run DBS-KAT in the manner
  641.                                 described in the DB-SHAREWARE manual.
  642.  
  643.                                 This field is the only field which will
  644.                                 preserve lower case input. All other fields in
  645.                                 DBS-KAT will upper case your input as it is
  646.                                 stored in the database.
  647.  
  648.      Database User Password     The only place that DBS-KAT can optionally
  649.      (optional)                 have a security concern is in the inquiry
  650.                                 function & password maintenance function.
  651.                                 Anyone can always update your database (except
  652.                                 the password portion).
  653.  
  654.                                 The thinking behind this decision is that you
  655.                                 might have your secretary or assistant update
  656.                                 your database as they update your diskettes.
  657.                                 However, if you have hundreds of diskettes,
  658.                                 you might have some of them devoted to con-
  659.                                 fidential topics, which might be revealed in
  660.                                 their file name or volume (DBS-KAT entered)
  661.                                 heading. You might want the location of these
  662.                                 diskettes hidden.
  663.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 15
  664.  
  665.  
  666.  
  667.                                 Thus you can ask that DBS-KAT checks for a
  668.                                 user password (which you set up) of anyone
  669.                                 asking to inquire against the database.
  670.  
  671.      Password to chg password   Since you may allow more than yourself the
  672.      (optional)                 right to inquire into your database & you may
  673.                                 later change your mind about another person's
  674.                                 right to look into your data base, a password
  675.                                 beside the user password was needed. Consider
  676.                                 this the owner's or administrator's password.
  677.  
  678.                                 IMPORTANT! Do not ever forget this password!
  679.                                 If you forget it, there is no way you can use
  680.                                 either the existing DBS-KAT software or
  681.                                 DEBUG's dump command to uncover this password.
  682.                                 A proprietary encryption method stores this
  683.                                 password in your database. Use a password that
  684.                                 is impossible for you to forget, yet which is
  685.                                 one others won't ever guess, such as a
  686.                                 childhood nickname no longer used, or your
  687.                                 first date's name, etc. You may want to write
  688.                                 your password down & store it in your safe or
  689.                                 safety deposit box.
  690.  
  691.                                 Note: if you decide not to implement this
  692.                                 administrator's password during the initial
  693.                                 add system control process, you are never
  694.                                 given the opportunity to change your mind.
  695.  
  696.                                 If you aren't excited about requiring a
  697.                                 password at inquiry time, you might want to
  698.                                 implement an administrator password, but skip
  699.                                 for the time being a user password. If you
  700.                                 know the administrator password, you can
  701.                                 always assign a new user password via the
  702.                                 update system control process.
  703.  
  704.      Default loc: H(ome)/W(ork) The default location is W(ork).  You can
  705.                                 change the default location to H(ome).  See
  706.                                 next prompt for more information.
  707.  
  708.      Enter begin no. for home   The default number is 0001. DBS-KAT allows
  709.                                 designating the location of your diskettes to
  710.                                 be either at work or at home. Some of the DBS-
  711.                                 KAT users may be using a COMPAQ PLUS & thereby
  712.                                 be tracking diskettes at both locations.
  713.  
  714.                                 The purpose of this field is to save you key-
  715.                                 strokes in assigning the volume ID for your
  716.                                 diskette. You are always allowed to over-ride
  717.                                 the prompted default value.
  718.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 16
  719.  
  720.  
  721.  
  722.      Enter begin no. for work   The default number is 5001.
  723.  
  724.      # of disk upds b4 sugg.bu  Because DBS-KAT involves a database, you are
  725.                                 suggested to periodically back up your
  726.                                 database, in case unpredicatible interrup-
  727.                                 tions, whether hardware or otherwise caused,
  728.                                 destroy your database. At the start of each
  729.                                 diskette to be processed, you are given the
  730.                                 option to backup the database. However, you
  731.                                 may decide to methodically back up the
  732.                                 database every so many diskettes. If you
  733.                                 desire a periodic reminder, insert the desired
  734.                                 interval here, otherwise assign a very high
  735.                                 number (e.g., 99).
  736.  
  737.      Enter diskette drive char  Typically, you'll probably choose the default
  738.                                 letter, A. However, you can choose any legit-
  739.                                 imate floppy disk drive, or drive which acts
  740.                                 to DOS like a floppy disk drive (refer to
  741.                                 earlier comments in the Hardware Requirements
  742.                                 Section).
  743.  
  744.                                 If you have an IBM AT, & alternate between
  745.                                 drive A & B, you should pick the letter used
  746.                                 the most often. You are given the opportunity
  747.                                 inside the cataloging program to over-ride
  748.                                 this letter.
  749.  
  750.      Enter KATWORK1.DIR drive   DBS-KAT during its processing of a diskette,
  751.      ENTER KATWORK2.DIR drive   will run another program, KATSCAN.EXE, which
  752.                                 creates a directory display file of your
  753.                                 entire diskette, even if it has subdirectory-
  754.                                 located files on it. The unsorted directory
  755.                                 display file is called KATWORK1.DIR. DBS-KAT
  756.                                 then runs your DOS program, SORT.EXE, against
  757.                                 this KATWORK1.DIR file & outputs the sorted
  758.                                 version of this file under the name
  759.                                 KATWORK2.DIR. If you have an electronic RAM
  760.                                 DISK, indicate its drive letter here. The
  761.                                 default drive letter is the typical hard drive
  762.                                 letter, C.
  763.  
  764.                                 If you will alternate cataloging diskettes &
  765.                                 removeable disk cartridges, setup the system
  766.                                 control record with the parameters you want
  767.                                 for the diskette drive. Using the "S" option
  768.                                 in the catalog update process (KAT -U), you
  769.                                 can switch to cataloging your removeable disk
  770.                                 cartridges & the program will let you change
  771.                                 for the session (or until you choose the "S"
  772.                                 option again, whichever comes first) the para-
  773.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 17
  774.  
  775.  
  776.                                 meter settings for the: (a) target drive being
  777.                                 cataloged, (b) drive to use for work files,
  778.                                 (c) & sector size of device being cataloged.
  779.  
  780.      Default From Hd Drive      Typically this is drive C, the default. If
  781.      (for diskette vol. info.)  you ask DBS-KAT to prompt you for each dis-
  782.                                 kette being processed, you'll be prompted for
  783.                                 the source hard disk drive, & be given this
  784.                                 letter as the default answer.
  785.  
  786.      Default vol. pathname      The default hard disk source pathname for your
  787.      (for diskette vol. info.)  diskette file is "VARIES". If you catalog a
  788.                                 diskette with no files on it, & you've asked
  789.                                 not to be prompted for volume heading
  790.                                 information, DBS-KAT substitutes a blank
  791.                                 pathname.
  792.  
  793.                                 The idea behind the pathname is to have the
  794.                                 inquiry function act similar to how you inter-
  795.                                 rogate your directory on your hard disk. On
  796.                                 your hard disk, you'll typically move yourself
  797.                                 to a directory, & then query a file set
  798.                                 against only that directory.
  799.  
  800.                                 For example, if you are in a directory for
  801.                                 your word processing files, the DIR *.DOC will
  802.                                 scope word processing files, whereas if you
  803.                                 have a directory for your programming devel-
  804.                                 opment, the DIR *.DOC might scope program
  805.                                 development or usage documentation files.
  806.  
  807.                                 However, to minimize database overhead both to
  808.                                 reduce disk space utilization & update pro-
  809.                                 cessing time, the directory database is not
  810.                                 structurally segmented by pathname. Doing an
  811.                                 inquiry similar to a DIR *.DOC against your
  812.                                 \WORK directory, will involve scanning your
  813.                                 database from the very first record through
  814.                                 the very last record. Thus, you'll probably
  815.                                 want to minimize inquiries where the leading
  816.                                 characters of the filename are irrelevant.
  817.  
  818.      Default vol. note          This is a 13 character field, which can be
  819.      (for diskette vol. info.)  thought of being a commentary field on the
  820.                                 diskette's contents or a place for extended
  821.                                 path information, in case your source hard
  822.                                 disk pathname is longer than 8 characters long
  823.                                 (e.g., \LOTUS\TEMPLATE\DOC).  Examples of
  824.                                 appropriate comments might be "NORTON UTILS",
  825.                                 "XTALK" or "LOTUS".
  826.  
  827.                                 The default note for your diskette volume
  828.                                 heading is "MISC". If you catalog a diskette
  829.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 18
  830.  
  831.  
  832.                                 with no files on it, & you've asked not to be
  833.                                 prompted for volume heading information, DBS-
  834.                                 KAT substitutes "SCRATCH" for the volume
  835.                                 heading note.
  836.  
  837.      Default YY+Qtr buy disk    You might want to keep track of how old a
  838.      (for diskette vol. info.)  diskette is. The default answer, zero, will
  839.                                 substitute the current YEAR & QUARTER (con-
  840.                                 catenated together as a 3 digit number). When
  841.                                 first entering in all your old diskettes, if
  842.                                 they are on the average 9 months ago, you
  843.                                 might want to indicate the YY+Qtr for that
  844.                                 period. Then after your initial database load,
  845.                                 you could change the default value back to
  846.                                 zero.
  847.  
  848.      Diskette Format OP SYS     Indicate here the default for whether the
  849.      (for diskette vol. info.)  diskette is normally formatted under IBM PC
  850.                                 DOS ('P'), which is the default, or under MS
  851.                                 DOS ('M').
  852.  
  853.                                 These letters do not cause anything special to
  854.                                 happen, except that they will be redisplayed
  855.                                 on some screen outputs. You can use
  856.                                 alternative letters if you wish.
  857.  
  858.      OP SYS Ver. (no dec.pt.)   Indicate here the default for which DOS
  859.      (for diskette vol. info.)  version number, the diskette was formatted
  860.                                 under, however do not use a decimal point
  861.                                 (wasted storage & display space to carry the
  862.                                 decimal). Thus 200, the default, refers to
  863.                                 2.00 DOS.
  864.  
  865.      Usual seq_typ is           You may be processing a group of related
  866.      (for diskette vol. info.)  diskettes. The grouping may be because you are
  867.                                 using the DOS BACKUP command (type 'B'), which
  868.                                 is the default or because you are cataloging a
  869.                                 software package containing more than one dis-
  870.                                 kette (type 'P').
  871.  
  872.                                 You are free to invent other sequence types.
  873.                                 However, use 'B' for the DOS BACKUP sequence
  874.                                 type. Future software may act upon this
  875.                                 information.
  876.  
  877.                                 For now, just indicate, that when you are pro-
  878.                                 cessing a sequence of diskettes, what will be
  879.                                 the normal sequence type. Don't worry if most
  880.                                 of the time you will not be processing a
  881.                                 sequence of diskettes.
  882.  
  883.      Disk usually part of set   Indicate 'Y' or 'N' (the default), whether the
  884.                                 normal diskette you intend to catalog will
  885.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 19
  886.  
  887.  
  888.                                 belong to a sequentially related set of dis-
  889.                                 kettes, such as a full backup set, etc.
  890.  
  891.      Enter DOS cmd for B/U      You are highly recommended to perform your PC
  892.                                 KAT database backup under DBS-KAT supervision.
  893.                                 The default method is via the DOS BACKUP
  894.                                 command ("BACKUP C:\KATDB.* A:"). You can
  895.                                 insert any valid DOS command here to
  896.                                 accomplish your backup. Your DOS command could
  897.                                 even be the .BAT file name to do your backup
  898.                                 (leave out the ".BAT").
  899.  
  900.                                 The database will be updated that you are
  901.                                 about to do a backup, then the database will
  902.                                 be closed prior to your backup. Also, your
  903.                                 DBS-KAT log file will note the occurrence of a
  904.                                 backup being performed. More about this log
  905.                                 file later in the manual.
  906.  
  907.      Enter label utility name   DBS-KAT comes with the free, user group
  908.                                 program, VOLSER Version 2.00, Copyright 1983
  909.                                 by T. A. Davis. As T. Davis does not provide
  910.                                 an address either in his program or his docu-
  911.                                 mentation, Applied Foresight is unable to ask
  912.                                 his permission or to ask users of DBS-KAT to
  913.                                 voluntarily contribute an appreciation token
  914.                                 to Mr. T. A. Davis. VOLSER is a label utility.
  915.  
  916.                                 With VOLSER or an alternative software label
  917.                                 utility, which you would select here, you can
  918.                                 update your diskette with the volume ID four
  919.                                 digit number (use leading zeros to make the
  920.                                 volume ID 4 digits). Having the volume ID
  921.                                 software embedded onto the diskette, saves
  922.                                 DBS-KAT from having to ask you each time what
  923.                                 is the number on the sticky label outside your
  924.                                 diskette. Oh yes, you should have a four digit
  925.                                 volume ID on a sticky label outside your dis-
  926.                                 kette.
  927.  
  928.                                 If you don't care to use VOLSER, indicate the
  929.                                 label utility program of your choice. Norton's
  930.                                 Utilities comes with the program, LABEL. IBM
  931.                                 PC DOS 3.0 comes with its utility program,
  932.                                 LABEL. Make your choice known to DBS-KAT.
  933.  
  934.                                 The unaltered documentation on VOLSER by T. A.
  935.                                 Davis, is in the file, VOLSER.DOC, which is on
  936.                                 your PC KAT diskette.
  937.  
  938.      Entries Okay               The default answer is 'Y' for Yes. If you want
  939.                                 to change one of your answers made above, you
  940.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 20
  941.  
  942.  
  943.                                 should answer 'N' for No. You'll be reprompted
  944.                                 for every field again, starting from the first
  945.                                 prompt.
  946.  
  947.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 21
  948.  
  949.  
  950.                                CATALOGING DISKETTES
  951.                                --------------------
  952.  
  953.                                  INVOKING DBS-KAT
  954.  
  955.      Efficient & rewarding use of DBS-KAT involves continually keeping your
  956.      database up to date about the contents of all of your diskettes. This is
  957.      done by the diskette cataloger program function, which can be invoked in
  958.      a variety of ways. You can enter the commands in upper or lower case, it
  959.      makes no difference. These commands are entered at the DOS prompt level.
  960.  
  961.      INVOKE CMD   COMMENT-------------------------------------------------
  962.  
  963.      KAT -U       Catalog diskettes until requested to exit or backup my
  964.                   database. Provide prompts, with defaults shown, to add or
  965.                   update unique diskette volume information.
  966.  
  967.      KAT          Same as above, except first show program options help page.
  968.                   Check if program has been installed & the System Controlled
  969.                   record has been updated.  Exit with message if not installed
  970.                   yet.  When user responds to "Press any key", process as if
  971.                   user had typed "KAT -U".
  972.  
  973.      KAT -UH      Same as above, except prespecified location is Home.  If
  974.                   location is not specified, use default location given in the
  975.                   System Control Record setup.
  976.  
  977.      KAT -UW      Same as above, except prespecified location is Work.
  978.  
  979.      KAT -U2      Same as KAT -U, except only process for two diskettes.
  980.  
  981.      KAT -U2H     Same as KAT -UH, except only process for two diskettes.
  982.  
  983.      KAT -UN      Same as KAT -U, except bypass prompting for unique diskette
  984.                   volume information. Use the default values based upon the
  985.                   system control record.
  986.  
  987.                   For those users who habitually name their files in such a
  988.                   manner that just remembering the spelling of part or all of
  989.                   the file name is all that is necessary to know about, those
  990.                   users might be satisfied running DBS-KAT this way. It saves
  991.                   about 30-60 seconds per processed diskette, to use the -N
  992.                   option.
  993.  
  994.                   Alternatively, on many of your diskettes, you might want to
  995.                   not use the -N option. For instance, you might want to state
  996.                   that the involved diskette belongs to the path, UTIL, & in
  997.                   the note field, state "PC-TALK III", & so forth. However,
  998.                   some users, lazy like the Author, might not care about
  999.                   volume heading information, & rely upon the fact that on
  1000.                   this diskette, retrieving by the file name, "PC-TALK", will
  1001.                   always enable DBS-KAT to tell me which diskette volume to
  1002.                   look for PC-TALK III.
  1003.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 22
  1004.  
  1005.  
  1006.  
  1007.                   On diskettes which habitually get reused for totally dif-
  1008.                   ferent file storage purposes, you might want to always use
  1009.                   the -N option.
  1010.  
  1011.                   While inside DBS-KAT, you can toggle having this "N" option
  1012.                   on or off.
  1013.  
  1014.      KAT -UNH     Same as KAT -UN except prespecified Home as the location.
  1015.  
  1016.      KAT -U2NH    Same as KAT -UNH, except only process for two diskettes.
  1017.  
  1018.      KAT -UA      Same as KAT -U, except floppy to process is on drive A:,
  1019.                   regardless of what drive letter the system control record
  1020.                   points to.
  1021.  
  1022.      KAT -UB      Same as KAT -U, except floppy to process is on drive B:,
  1023.                   regardless of what drive letter the system control record
  1024.                   points to.
  1025.  
  1026.      KAT -LU      Same as KAT -U, except use the database in the current
  1027.                   directory. Without the -L option, DBS-KAT will move to the
  1028.                   root (\) directory to process a database there. If a
  1029.                   database isn't there, but one is in the current directory,
  1030.                   it will remain in the current directory.
  1031.  
  1032.      The user can invoke DBS-KAT using valid combinations of the above. Of
  1033.      course, -A & -B can never be used together. Nor can -H & -W ever be used
  1034.      together.
  1035.  
  1036.      The order in which the options are stated are irrelevant, except that
  1037.      only a number can follow the -U option, immediately to the right of the
  1038.      "U". Thus, typing KAT -UN & KAT -NU will perform the same thing. Some of
  1039.      the above options can be chosen from a menu which drives the program.
  1040.      This menu is shown in the "CATALOGING PROCEDURE" subsection below.
  1041.  
  1042.  
  1043.                           DISKETTE HANDLING WITH DBS-KAT
  1044.  
  1045.      You should physically & software label all your diskettes with a four
  1046.      digit number. Write-protected diskettes need not be software labeled. A
  1047.      physically labeled diskette means that with a soft felt tip pen, you have
  1048.      written a four digit number which is visible on the diskette gum label
  1049.      which sticks on the outside of the diskette. A software labeled diskette
  1050.      means that when you do a DOS DIR A: against the diskette, that you are
  1051.      shown something like the below as the first two lines of the display:
  1052.       Volume in drive A is 0175
  1053.         Directory of A:\
  1054.  
  1055.      DBS-KAT provides you with means to do software labeling from inside the
  1056.      cataloging program. Refer back to the last prompt in the System Control
  1057.      Record. The recommended route is to use the numbers 0001-5000 for dis-
  1058.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 23
  1059.  
  1060.  
  1061.      kettes initially cataloged at Home, & to use the numbers 5001-9999 for
  1062.      diskettes initially cataloged at Work. If you only have one location,
  1063.      then use the numbers 0001-9999. These are only recommendations. Blank
  1064.      volume ID labels or non-4-digit volume ID labels should be minimized to
  1065.      write-protected diskettes, because each time you catalog the diskette,
  1066.      you have to remind DBS-KAT of the volume label number. Diskettes which
  1067.      are 4-digit software labeled, are automatically recognized by DBS-KAT as
  1068.      to what volume label ID it contains.
  1069.  
  1070.      In your diskette containers, you should stack all your diskettes sequen-
  1071.      tially in numeric order. It makes no difference how unrelated any neigh-
  1072.      boring sequenced diskette is, for DBS-KAT will provide the logical orga-
  1073.      nization to your diskettes. However, you'll still find it convenient to
  1074.      keep sequentially logically related diskettes in sequential numeric
  1075.      order, such as for full hard disk backups, etc. The author reserves three
  1076.      neighboring numbered diskettes for his database backups, since with its
  1077.      some 13,400 plus filenames, it goes a little into the third diskette to
  1078.      back up a database this big. Doing this is a convenience not a necessity,
  1079.      for the diskette volume inquiry process will remind you of what follows
  1080.      or precedes a diskette (assuming you told DBS-KAT about the sequencing
  1081.      originally).
  1082.  
  1083.      A "scratch" diskette is one which is either empty of files, or one which
  1084.      has junk or obsolete files on them & can be erased without worry. When
  1085.      DBS-KAT processes a scratch diskette, it labels the database volume
  1086.      header with the word "SCRATCH."  You can ask DBS-KAT for a screen or
  1087.      printout of your SCRATCH volumes. However, if you don't want to have to
  1088.      run this inquiry to find out where your scratch diskettes are, you could
  1089.      consider temporarily locating your scratch diskettes in a scratch dis-
  1090.      kette container or separate location.
  1091.  
  1092.  
  1093.                              THE CATALOGING PROCEDURE
  1094.  
  1095.      The cataloging program is menu driven & your choices for action are dis-
  1096.      played as follows:
  1097.  
  1098.      -------------------------------------------------------------------------
  1099.      OPT: DESCRIPTION                     OPT: DESCRIPTION
  1100.  
  1101.      P   Insert diskette now to PROCESS   E   EXIT program now
  1102.      H   change location to HOME          W   change location to WORK
  1103.      V   change database VOLUME header    L   change diskette volume LABEL
  1104.      D   diskette dir/w & DEL option      F   FORMAT a diskette
  1105.      T   TOGGLE vol hdr prompting on/off  S   SWITCH to another diskette drive
  1106.      B   BACKUP database & exit program
  1107.  
  1108.      PARMS ON: Locn=> HOME; Prompting=> ON; Directory=> ROOT; Floppy=> A:
  1109.                                      P
  1110.      Do: B,D,E,F,H,L,P,S,T,V,W ?    > <
  1111.      -------------------------------------------------------------------------
  1112.  
  1113.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 24
  1114.  
  1115.  
  1116.      Most of the prompts & activity occurring in the cataloging procedure is
  1117.      self evident, based upon the user understanding the system control record
  1118.      update process & being able to read the cataloging procedure displays &
  1119.      prompts.
  1120.  
  1121.      This documentation will cover the portions of this procedure which may
  1122.      not be completely self-evident.
  1123.  
  1124.      1.  In the overview section, DBS-KAT was discussed being smart enough to
  1125.          know that you hadn't made any changes since your last cataloging
  1126.          process against that diskette. There is one ramification to this
  1127.          smartness. If your only change to a previously processed diskette, is
  1128.          that you renamed a file, then DBS-KAT will not process the diskette,
  1129.          because renaming an existing file on a diskette will not impact
  1130.          either of the two captured totals. These two totals, you will recall,
  1131.          deal with the total number of files on the diskette, & the sum total
  1132.          of file dates + times + sizes covering that diskette.
  1133.  
  1134.      2.  When you are displayed the volume heading information for a pre-
  1135.          viously cataloged diskette, you are given the following column
  1136.          headings:
  1137.  
  1138. VOL# --PATH-- NOTE/EXT-PATH LAST UPDATE #FIL KBLF L F O VER BUY NV TSQ NEXT LAST
  1139.  
  1140.  
  1141.      The unobvious column headings above mean the following:
  1142.  
  1143.      KBLF         The number of kilobytes available for additional file use.
  1144.  
  1145.      L            Location where the prior cataloging processing took place.
  1146.  
  1147.      F            The letter of the hard disk from which these files came
  1148.                   from.
  1149.  
  1150.      O            The operating system type under which the cataloged diskette
  1151.                   was formatted.
  1152.  
  1153.      VER          The operating system version number under which the
  1154.                   cataloged diskette was formatted.
  1155.  
  1156.      NV           The newest version file of all files on this diskette. This
  1157.                   information is only available if the add-on software module,
  1158.                   which does the aging analysis, is owned & ran against your
  1159.                   database. This add-on software module is not yet available,
  1160.                   as of the release time of this document. It will be
  1161.                   available in a matter of months.
  1162.  
  1163.                   When this field is operational, if it contained the number
  1164.                   "2" or higher, it would mean that nothing on this file is
  1165.                   most recent compared to same named files on other diskettes.
  1166.                   You could conceivably reuse this diskette if you aren't
  1167.                   interested in prior versions of your files.
  1168.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 25
  1169.  
  1170.  
  1171.  
  1172.      TSQ          This represents two columns of information without a
  1173.                   separating blank space between them:
  1174.                   T     Sequence type (eg, B=BACKUP, P=SOFTWARE PACKAGE)
  1175.                   SQ    Sequence number (ie, 01-99).
  1176.  
  1177.      3.  You can remove the diskette from the disk drive which is being
  1178.          cataloged when you see on your screen either of the following two
  1179.          messages. If you have another diskette to process, you can insert it
  1180.          at this time.
  1181.  
  1182.          a) "Will display each input directory filename as it is processed:"
  1183.          b) "Input directory has no files on it--processing as a scratch
  1184.             volume."
  1185.  
  1186.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 26
  1187.  
  1188.  
  1189.                        INQUIRING AGAINST THE DBS-KAT CATALOG
  1190.                        -------------------------------------
  1191.  
  1192.                                  INVOKING DBS-KAT
  1193.  
  1194.      Before you actually update & inquire against your database, you should
  1195.      read the last remaining section, which comes in the next section
  1196.      "MAINTAINING & RECOVERING YOUR DATABASE."
  1197.  
  1198.      The main purpose for having DBS-KAT is to ask it which diskette(s) has
  1199.      such & such file on it?  This is done by the catalog inquiry program
  1200.      function, which can be invoked in a variety of ways. You can enter the
  1201.      commands in upper or lower case, it makes no difference. These commands
  1202.      are entered at the DOS prompt level.
  1203.  
  1204.      INVOKE CMD   COMMENT-------------------------------------------------
  1205.  
  1206.      KATLOOK      This is the quickest way to look at your database. If you
  1207.                   chose the alternate route of KAT -D, it would invoke KATLOOK
  1208.                   anyway. So you save having to have the computer first load
  1209.                   KAT.EXE followed by then loading KATLOOK.EXE if you just
  1210.                   type KATLOOK & press ENTER.
  1211.  
  1212.      KAT -D       Same as KATLOOK, except computer takes a couple of seconds
  1213.                   longer to function.
  1214.  
  1215.      KATLOOK -P   Same as KATLOOK, except you request that DBS-KAT does not
  1216.                   show in the PATH & EXT PATH/NOTE columns the subdirectory
  1217.                   information if the file entry sat in a subdirectory on the
  1218.                   diskette. The only thing that would be shown in these two
  1219.                   columns would be information from the diskette volume header
  1220.                   record.
  1221.  
  1222.                   Since most users will not be utilizing subdirectories on
  1223.                   their diskettes, KATLOOK gives the same results as entering
  1224.                   KATLOOK -P.
  1225.  
  1226.                   KATLOOK -P was inserted into the product during the
  1227.                   debugging phase of catching the individual file entry
  1228.                   elongated directory name at display time. You'll recall from
  1229.                   the Overview subsection in the Introduction that the
  1230.                   database only carries a numeric code for the subdirectory
  1231.                   diskette location it belongs with in each database record.
  1232.                   However, this feature was left in the program, since some
  1233.                   users might want to take advantage of this option, & it
  1234.                   really causes no overhead to the program's performance to
  1235.                   leave it in.
  1236.  
  1237.      KAT -DP      See above discussion about KAT -D. Otherwise, this is the
  1238.                   same as entering KATLOOK -P.
  1239.  
  1240.      KATLOOK -L   Inquire against the database located in the current
  1241.                   directory.
  1242.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 27
  1243.  
  1244.  
  1245.  
  1246.      KAT -LD      See above discussion about KAT -D. Otherwise, this is the
  1247.                   same as entering KATLOOK -L.
  1248.  
  1249.  
  1250.                                THE INQUIRY PROCEDURE
  1251.  
  1252.      The inquiry program is menu driven & your choices for action are dis-
  1253.      played as follows:
  1254.  
  1255.      -------------------------------------------------------------------------
  1256.      CHOOSE TYPE OF DIRECTORY DISPLAY DESIRED:
  1257.      1. Process individual dir argument line.
  1258.      2. Process all cataloged files for a given volume number.
  1259.      3. Process all cataloged files for the entire database.
  1260.      4. Listing of cataloged diskette volumes.
  1261.      5. Listing of uncataloged diskette volumes.
  1262.      6. Exit program.
  1263.                                     6
  1264.      Enter option number:          > <
  1265.      -----------------------------------------------------------------------
  1266.  
  1267.      Most of the prompts & activity occurring in the inquiry procedure are
  1268.      self evident, based upon the user understanding the cataloging process &
  1269.      being able to read the inquiry procedure displays & prompts.
  1270.  
  1271.      This documentation will cover the portions of this procedure which may
  1272.      not be completely self-evident.
  1273.  
  1274.      1.  If your database was set up with a user password, you are asked for
  1275.          it in this program. You must provide the user password in order to
  1276.          inquire against the database. When you type in your password, you
  1277.          will not see what you type in nor will your cursor move. That is
  1278.          normal. This way, your friend behind you won't see your password.
  1279.  
  1280.      2.  When you are displayed the filename heading information, you are
  1281.          given the following column headings:
  1282.  
  1283. VOL# FILENAME.EXT FLDATE FLTM --SIZE- --PATH-- NOTE/EXT-PATH LTSQGT LAST-UPDATE
  1284.  
  1285.          With the exception of "FILENAME.EXT" & "LTSQGT", the above column
  1286.          headings also appear in the previous section in "THE CATALOGING PRO-
  1287.          CEDURE" subsection.
  1288.  
  1289.          Two exception to being the same as THE CATALOG PROCEDURE heading are
  1290.          the "--PATH-- NOTE/EXT-PATH" headers. These columns will show the
  1291.          actual diskette subdirectory (the first 22 characters) which the
  1292.          cataloged file sits in, if such is the case, rather than the volume
  1293.          heading Note/Ext-Path information. Again, if the diskette file does
  1294.          not reside on the diskette in a subdirectory, the shown information
  1295.          derives from the volume label record.
  1296.  
  1297.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 28
  1298.  
  1299.  
  1300.          LTSQGT represents five columns of information without a separating
  1301.          blank space between them.
  1302.  
  1303.          L   Location where the prior cataloging processing for this disk took
  1304.              place.
  1305.  
  1306.          T   Sequence type (eg, B=BACKUP, P=SOFTWARE PACKAGE).
  1307.  
  1308.          SQ  Sequence number (ie, 01-99).
  1309.  
  1310.          G   How many generations old is this filename in relationship to the
  1311.              most current file with this same FILENAME.EXT, which is gener-
  1312.              ation 0. Generation 9 would be for the 9th plus higher genera-
  1313.              tions. This information & that of the following adjacent field is
  1314.              not updated by the base package. An add-on software module
  1315.              program, which does the aging analysis, will update this field.
  1316.  
  1317.          T   Is the generation number for this FILENAME.EXT tied ("Y" or
  1318.              blank).
  1319.  
  1320.      3.  If you choose the directory display option number 1 (Process indi-
  1321.          vidual dir argument line) & ask to "Suppress console output", you can
  1322.          ask that the displayed output go either to the printer or to a file.
  1323.          If you choose a file output, you are given the opportunity to use the
  1324.          filename, KATDIR.OUT, or you can create your own valid filename.
  1325.          File-directed output will not contain the column headings. A DOS
  1326.          batch command file, KATSORT, is provided which will sort KATDIR.OUT
  1327.          in reverse chronological order. You must exit this program & execute
  1328.          the procedure, KATSORT, at the DOS prompt level.
  1329.  
  1330.      4.  If you choose the directory display option number 1 (Process indi-
  1331.          vidual dir argument line), you might be a little unfamiliar with your
  1332.          search options. The program at this point displays the following
  1333.          instructions:
  1334.  
  1335.             "For your search argument, you'll be asked for a string value &
  1336.             how to use this string in the search (exact compare, anchored sub-
  1337.             string compare, or un-anchored substring compare - E, A, U). You
  1338.             are not allowed to use the following characters: '*', '?', '+'.
  1339.             Just pressing ENTER for a string value indicates no restriction."
  1340.  
  1341.          The DOS DIR command provides an anchored substring search capability.
  1342.          If you typed: DIR AUTO* & pressed ENTER, you would be doing an
  1343.          anchored substring compare. Although DOS does not provide an un-
  1344.          anchored substring search, if it did, typying: DIR *TO* & pressing
  1345.          ENTER, would provide you with a list of filenames where floating any-
  1346.          where in the filename portion are the two neighboring characters
  1347.          "TO". This is an example of an un-anchored substring search.
  1348.  
  1349.          Although, DBS-KAT provides an un-anchored substring compare, this
  1350.          type of search on the filename portion will cause every filename
  1351.          entry in your database to be scanned, which can take awhile depending
  1352.          on the size of your database.
  1353.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 29
  1354.  
  1355.  
  1356.  
  1357.          The TECHNICAL REFERENCE MANUAL overviews the structure of DBS-KAT's
  1358.          database design & provides an  elaborate example list representing a
  1359.          range of searchs ordered by a most efficient search argument to a
  1360.          least efficient search argument.
  1361.  
  1362.          However, don't be afraid to use the search strategy you need to
  1363.          accomplish the job you want done. With a 12,000 record database, best
  1364.          case searches are a few seconds long & worst case searches are
  1365.          a few minutes long.
  1366.  
  1367.      5.  If you choose to provide a path argument search & to have it used
  1368.          against cataloged filenames, it is used against the diskette volume
  1369.          label pathname, unless the file is residing in a subdirectory on the
  1370.          cataloged diskette.  In that case, you can search for the file by
  1371.          providing the name (or part of the name) of the subdirectory;
  1372.          however, instead of using a backslash character, use a foreslash
  1373.          character (/) to indicate the directory slash.  DBS-KAT converts the
  1374.          directory slash to a foreslash (/), when updating the database.
  1375.  
  1376.      6.  If you choose to only provide a path/note argument search (no
  1377.          filename/ext search argument), you'll be asked if you want the search
  1378.          to be only against cataloged volume header records rather than
  1379.          against cataloged filenames. Choosing the volume header search will
  1380.          make your scan a whole lot faster.
  1381.  
  1382.      7.  Diskettes that are empty of files are marked "SCRATCH".  By providing
  1383.          a path/note argument with the value "SCRATCH" or "scratch" & to have
  1384.          it used only against cataloged volume header records, you will be
  1385.          provided with a list of scratch diskettes.
  1386.  
  1387.      8.  Option 3 now supports unloading the entire database to a flat file or
  1388.          processing the entire database within a beginning and ending date
  1389.          range.  Try option 3 and play around with the combinations.
  1390.  
  1391.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 30
  1392.  
  1393.  
  1394.                            TAKING CARE OF  YOUR DATABASE
  1395.                            -----------------------------
  1396.  
  1397.                                      OVERVIEW
  1398.  
  1399.      This section covers the following activities:
  1400.  
  1401.         1. Conservative Updating
  1402.         2. Backup
  1403.         3. The Log File
  1404.         4. Integrity Analysis
  1405.  
  1406.      A related section on Recovery is included in the TECHNICAL REFERENCE
  1407.      MANUAL, because not every user will ever need it. However, every user
  1408.      should be prepared for it by following the recommendations below.
  1409.  
  1410.  
  1411.                                CONSERVATIVE UPDATING
  1412.  
  1413.      Databases are delicate creatures. Most programs which work with data-
  1414.      bases, assume that all the proper connections are made between the dif-
  1415.      ferent records in a database. Such programs, when they come across the
  1416.      first data record with its associated pointer addresses to another record
  1417.      failing to properly point, will abort. Thus often a very large database
  1418.      is at the mercy of one bad pointer. Pointers, like other portions of a
  1419.      disk file, can be disturbed by a variety of external hardware & software
  1420.      factors, many of which lie totally outside of the software which is spe-
  1421.      cifically written for the database.
  1422.  
  1423.      Conservative practices are to frequently backup up the database & to do a
  1424.      periodic integrity analysis of the database. If you're doing a hundred or
  1425.      more diskettes in the beginning in a day, then maybe every 33-50 dis-
  1426.      kettes, back up your database. If you're updating a few diskettes per
  1427.      day, then one or two days a week you should back up the database.
  1428.  
  1429.  
  1430.                                       BACKUP
  1431.  
  1432.      You are advised to back up your database while inside the KAT -U (or any
  1433.      variation of the -U option) program. Your database backup will be made
  1434.      according to the instructions you gave DBS-KAT in updating your system
  1435.      control record. Most persons will want to take advantage of the default
  1436.      backup command which one is prompted with during the system control
  1437.      record add process.
  1438.  
  1439.      During the KAT -U program session, you can choose to backup your database
  1440.      at the beginning of each processing loop, or after you have processed the
  1441.      number of diskettes equal to the reminder interval count you provide DBS-
  1442.      KAT in your system control record update process.
  1443.  
  1444.      The existence & usefulness of your log file is discussed shortly, however
  1445.      it relevant to note now that DBS-KAT records in this log file when you
  1446.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 31
  1447.  
  1448.  
  1449.      made a backup of your database. It also makes a record entry, including
  1450.      the volume number, of each updated diskette.
  1451.  
  1452.      For the above reason, it is a good idea to update DBS-KAT against the
  1453.      diskettes you just backed up your database onto, right after doing the
  1454.      backup & before processing any other diskettes. This way, when you inter-
  1455.      rogate your log file, those diskettes which immediately follow a backup
  1456.      record entry are the diskettes which contain your database. This is
  1457.      useful, when looking for your couple-to-several generation old set of
  1458.      database backup diskettes to reuse. You can also use DBS-KAT's inquiry
  1459.      function to find out the same information, but some people may prefer one
  1460.      method over the other method. The log file's main purpose is for recovery
  1461.      & not for locating backup diskette.
  1462.  
  1463.      Despite DBS-KAT's ability to inform you of which diskette follows in a
  1464.      sequence, you'll still find it more convenient, if your database backup
  1465.      span across neighboring numbered diskettes. Thus when you initially
  1466.      number your diskettes, you might want to set aside 3-4 neighboring
  1467.      sequence for backing up your database. It currently takes about 2.5 dis-
  1468.      kettes to backup a database containing 13,400 plus directory entries,
  1469.      which covers about 600 diskettes. You should felt-tip label these dis-
  1470.      kettes, beside the normal 4 digit number, with information such as:
  1471.                                      0333
  1472.             KATDB.*  1 of 4
  1473.             See 0334-0336
  1474.             Verified: 850301/850501/850701
  1475.             850901
  1476.  
  1477.      The above label shows the following information:
  1478.  
  1479.         1. The volume ID number for this diskette.
  1480.         2. Information that the diskette contains a backup of the database.
  1481.         3. Information that this diskette is number 1 of a set of 4 backup
  1482.            diskettes.
  1483.         4. The numerous different dates for which this database was a backup
  1484.            of a database right after it had been okayed via a database
  1485.            integrity analysis run. In this instance, the verify dates spill
  1486.            over onto line four of the label.
  1487.  
  1488.      In conjunction with using the DOS BACKUP command, one should periodically
  1489.      perform a CHKDSK /F. In the April 23, 1985, issue of PC WEEK, a letter to
  1490.      the editor by a VP of SyntheSys Consulting Inc., Syracuse, NY, entitled
  1491.      "Fixing BACKUP Bugs," refers to "problems with the [BACKUP] program if
  1492.      CHKDSK detects any errors on the disk you are trying to back up. The user
  1493.      should be sure to use CHKDSK to correct any problems with the hard disk
  1494.      before using BACKUP (i.e., use CHKDSK with the /F option)."
  1495.  
  1496.                                    THE LOG FILE
  1497.  
  1498.      Each diskette that you process by DBS-KAT causes a record to be written
  1499.      to a plain ASCII-type file (useable by most word processors), called
  1500.      KATDB.LOG. When you backup the database is recorded here too. The
  1501.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 32
  1502.  
  1503.  
  1504.      information written about the diskette processed is in the following
  1505.      format (example data displayed beneath the format). The format heading
  1506.      here does not appear in the file, KATDB.LOG, nor by the KATLOG printout.
  1507.  
  1508.        LN  LOC VOL# YYMMDD HHMM TOT-REC-COUNT
  1509.         1    H 0075 850503 1354 13035
  1510.         2    H B/U  850503 1355
  1511.         3    H 0174 850503 1400 13039
  1512.         4    H 0175 850503 1400 13043
  1513.         5    H 0176 850503 1401 13047
  1514.         6    H 0199 850503 1401 13099
  1515.  
  1516.      The main reason for this log file is in the unlikely event that something
  1517.      happens either to your hard disk or to your database & you need to do a
  1518.      recovery using an earlier backed up database. The exact procedures you'll
  1519.      follow are given in the TECHNICAL REFERENCE MANUAL.
  1520.  
  1521.      Another usage for the log file, if you want to use it in such a manner
  1522.      (as shown in the above example), was earlier discussed in the subsection,
  1523.      BACKUP. The above example reflects the fact that after processing volume
  1524.      0075, the user backed his database over three diskettes, 0174-0176, after
  1525.      which he updated DBS-KAT with the directory information of diskettes
  1526.      0174-0199.
  1527.  
  1528.      A DOS batch procedure file, called KATLOG.BAT, is provided to aid you in
  1529.      inquiring against your log file. KATLOG can be invoked in a variety of
  1530.      ways. You can enter the commands in upper or lower case, it makes no dif-
  1531.      ference. These commands are entered at the DOS prompt level.
  1532.  
  1533.      INVOKE CMD      COMMENT--------------------------------------------------
  1534.  
  1535.      KATLOG          Typing just this causes the entire log file to be con-
  1536.                      tinuously printed, using the KPRINT program. KPRINT is
  1537.                      explained in Appendix A. Lines numbers are printed for
  1538.                      this option.
  1539.  
  1540.      KATLOG 35       Any number is allowed. Typing this causes the last 35
  1541.                      lines of your log file to be displayed to your screen.
  1542.                      KATLOG uses your DOS program, MORE.COM, so be sure to
  1543.                      have it available (via your PATH) to be executed in the
  1544.                      directory from which you execute KATLOG. With the MORE
  1545.                      program, if you ask for more than a screen worth, you'll
  1546.                      be shown a screen worth at a time. Pressing any key
  1547.                      (except the CTRL-BREAK combination) will cause the next
  1548.                      page to be displayed to the screen. Holding down the CTRL
  1549.                      key while pressing the BREAK key will abort KATLOG --
  1550.                      you'll be asked if you want to terminate the batch pro-
  1551.                      cedure then. If you answer "Y", the batch procedure will
  1552.                      immediately abort.
  1553.  
  1554.      KATLOG 35 PRN   Same as KATLOG 35, except output is printed, & the DOS
  1555.                      program, MORE.COM is not used.
  1556.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 33
  1557.  
  1558.  
  1559.  
  1560.  
  1561.                                 INTEGRITY ANALYSIS
  1562.  
  1563.      Every once in awhile (perhaps once a month), an integrity analysis should
  1564.      be done. It really takes no work on your part, & doing it while you are
  1565.      out to eat is the easiest way to schedule it into your day. More is said
  1566.      about doing an integrity analysis in a subsection below.
  1567.  
  1568.      There is nothing magic about the database integrity check program. It is
  1569.      an option in the KATLOOK (or KAT -D option) program. First, get inside to
  1570.      KATLOOK's menu choice. Refer to the section, INQUIRING AGAINST THE DBS-
  1571.      KAT CATALOG, if you forget how to invoke KATLOOK. To the following
  1572.      prompts, make the following responses:
  1573.  
  1574.      PROMPT------------------------   RESPONSE   COMMENT----------------------
  1575.  
  1576.      Enter option number:             3          "Process entire database"
  1577.                                                  option
  1578.  
  1579.      Want date range?                 ENTER      Default is "N", the correct
  1580.                                                  choice
  1581.  
  1582.      Suppress console output?         ENTER      Default is "N", the correct
  1583.                                                  choice
  1584.  
  1585.      Printout desired?                ENTER      Default is "N", the correct
  1586.                                                  choice
  1587.  
  1588.      Pause for each screen?           ENTER      Default is "N", the correct
  1589.                                                  choice
  1590.  
  1591.      KATLOOK will thereupon start from the beginning of your database &
  1592.      display every entry in your database. Every single record in every
  1593.      portion of your database will be retrieved. This can take an hour & a
  1594.      half if using a COMPAQ PLUS with 12,500 directory entries & 580 diskettes
  1595.      cataloged. If you have an IBM AT, your response time will be better.
  1596.  
  1597.      A good time to do this, as earlier said, is during eating time. When you
  1598.      come back to your machine then, you'll immediately know if any problem
  1599.      was encountered. If the last two lines displayed show the last entry in
  1600.      your database followed by the successful database close message, then you
  1601.      have a clean database.
  1602.  
  1603.      At this point, you are advised to backup up your database & label it as a
  1604.      "VERIFIED" backup. Do not recycle these backup diskettes until you have
  1605.      done at least another verified backup in the future using another set of
  1606.      diskettes. Once you have done this backup, you no longer need the current
  1607.      hard disk resident KATDB.LOG file. Type: DEL KATDB.LOG & press ENTER.
  1608.      Don't worry, immediately upon doing your next DBS-KAT process, KATDB.LOG
  1609.      will be recreated & start growing again.
  1610.  
  1611.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 34
  1612.  
  1613.  
  1614.                                TROUBLE SHOOTING TIPS
  1615.  
  1616.      If the information in this section doesn't solve your problem, refer to
  1617.      the accompanying document, entitled "Advanced Database Integrity Analysis
  1618.      Discussion."  If that documentation doesn't solve your problem, consider
  1619.      reinstalling DBS-KAT by using the DBS-KAT manual for DOS-inexperienced
  1620.      users.  Failing that, if you're a registered DBS-KAT user, use the
  1621.      DBCHECK program to verify your database.  If all else fails, fill out and
  1622.      mail Applied Foresight the DBS-KAT problem form.  Print out this form
  1623.      typing: KAT -P and pressing ENTER or if that doesn't work by inserting
  1624.      the DBS-KAT software disk in drive A: and doing:
  1625.          Type:  C:                          and press ENTER.
  1626.          Type:  A:USQ  A:KATBUG.FQM         and press ENTER.
  1627.          Type:  COPY  KATBUG.FRM  PRN       and press ENTER.
  1628.          Type:  DEL   KATBUG.FRM            and press ENTER.
  1629.  
  1630.      If you are ever aborted from DBS-KAT during the cataloging program, or if
  1631.      the cataloging program processes less than the full number of filenames
  1632.      on a diskette, check the free space on the device holding the work files,
  1633.      KATWORK1.DIR & KATWORK2.DIR. Also, type out these work files & see if the
  1634.      operating system issued any error messages.
  1635.  
  1636.      The message "Exec Failure," or "db_VISTA database error -905- error
  1637.      opening file", may mean that your "FILES=20" statement is either missing
  1638.      or has a lower number in your CONFIG.SYS file.  Don't forget to restart
  1639.      your computer after changing your CONFIG.SYS file.
  1640.  
  1641.      The message "db_VISTA database error -4 - invalid database" can appear if
  1642.      the program is not able to find the database. DBS-KAT attempts to open
  1643.      the database in the current directory. Failing that, it attempts to open
  1644.      the database in the \DBSKAT directory for the current drive.  Failing
  1645.      that, it attempts to open the database in the root (\) directory for the
  1646.      current drive.  If the database can't be found still, it will display the
  1647.      preceeding error message.  If the database exists in one of these three
  1648.      directories, the message may still appear if the program you are running
  1649.      is DBCHECK KATDB. (From the DBS-KAT utility disk -- see order form for
  1650.      information on how to obtain.) The DBCHECK KATDB command expects that the
  1651.      DBS-KAT database exists only in the current directory and additionally,
  1652.      that KATDB.H exists in that directory too. (This file comes with the
  1653.      DBCHECK program.)
  1654.  
  1655.      With the message "Bad command or file name" right after the
  1656.      "Do: B,D,E,F,H,L,P,S,T,V,W?" prompt, or the message "error in opening to
  1657.      read A:KATWORK2.DIR" in "KAT -U", verify that the DOS SORT program is in
  1658.      your path.  If it isn't, then insert your original DOS diskette in drive
  1659.      A: & type:    COPY  A:SORT.*  \    & press the ENTER key.
  1660.  
  1661.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 35
  1662.  
  1663.  
  1664.                                  ONLINE ASSISTANCE
  1665.  
  1666.      KATBOOK also prints out several other manuals, which should be read.
  1667.  
  1668.      Typing:   KAT    & pressing the ENTER key will display the commands you
  1669.      can type in to run the various functions of DBS-KAT.
  1670.  
  1671.      Typing:   KAT > PRN   & pressing the ENTER key will print out the above
  1672.      display.
  1673.  
  1674.      Typing:   KAT -O    & pressing the ENTER key will print out an order
  1675.      form, along with an explanation of registration benefits.
  1676.  
  1677.      Typing:   KAT -P    & pressing the ENTER key will print out a problem
  1678.      form which can be used for submitting problems &/or enhancement requests.
  1679.  
  1680.      Typing:   KPRINT   & pressing the ENTER key will display the features of
  1681.      the KPRINT programmer's print program.
  1682.  
  1683.      Typing:   KPRINT -?C>PRN   & pressing the ENTER key will print out the
  1684.      above display.
  1685.  
  1686.      Typing:   KPRINT -?K   & pressing the ENTER key will display how to
  1687.      interface your printer with the KPRINT program.
  1688.  
  1689.      Typing:   KPRINT -?KC>PRN   & pressing the ENTER key will print out the
  1690.      above display.
  1691.  
  1692.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 36
  1693.  
  1694.  
  1695.                                     APPENDIX A:
  1696.                              ERRATA RE: KPRINT PROGRAM
  1697.  
  1698.      Note: for additional information about the KPRINT programmer's print
  1699.      program, refer to the preceeding section, "Online Assistance."
  1700.  
  1701.      Due to the Lattice C Compiler not supporting LPT2 & COM2, KPRINT will not
  1702.      work with either of these two ports. Carl Warren in MINI-MICRO SYSTEMS,
  1703.      April 1985 (page 187), provides a way for your computer to think of LPT2
  1704.      as LPT1 (and vice-versa) though. A BASIC program, he provides, based upon
  1705.      printer port information discussed in the IBM Technical Reference Manual,
  1706.      pages 5-25, is used to swap printer port locations for the duration of a
  1707.      power-on session. The program is reproduced below:
  1708.  
  1709.           05 REM DEFINE THE SEGMENT LOCATION
  1710.           10 DEF SEG = &H40
  1711.           15 REM FIND THE CONTENTS OF THE PORTS
  1712.           20 A = PEEK(&H8): B = PEEK(&H9)
  1713.           30 C = PEEK(&HA): D = PEEK(&HB)
  1714.           35 REM NOW SWAP THEM
  1715.           40 POKE &H8,C : POKE &H9,D
  1716.           50 POKE &HA,A : POKE &H8,B
  1717.           55 SYSTEM
  1718.  
  1719.      If this program was located in your root directory under the name,
  1720.      SWAPLPT.BAS, & you added the line, "BASICA \SWAPLPT", to your
  1721.      \AUTOEXEC.BAT file, this would be done for you automatically when you
  1722.      power on the computer. If you need to use COM2, use the DOS MODE command
  1723.      to associate COM2 with your LPT1 port. For both the LPT2 & COM2 solution
  1724.      discussed here, your KPRINT.CTL file would use a "T P 1" line.
  1725.  
  1726.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 37
  1727.  
  1728.  
  1729.                                     APPENDIX B:
  1730.  
  1731.                   KATSCAN HARD DISK ARCHIVE UTILITY DOCUMENTATION
  1732.  
  1733.      The KATBOOK print procedure printed a four page (80 column printout) on
  1734.      KATSCAN describes the KATSCAN program. Everything described in that doc-
  1735.      ument is on this diskette. This is NOT demo software!
  1736.  
  1737.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 38
  1738.  
  1739.  
  1740.                                     APPENDIX C:
  1741.  
  1742.                 KATASK BATCH MENU FACILITATOR UTILITY DOCUMENTATION
  1743.  
  1744.      KATASK is a simple, short program.  The purpose of this program is to
  1745.      facilitate displaying a menu of choices to a user from inside a DOS batch
  1746.      command file.  The method of doing this with KATASK is as follows:
  1747.  
  1748.         1.  Inside your DOS batch command file, use the DOS ECHO or REM
  1749.             command to display your menu to a user.  Assign a number starting
  1750.             from 1 to each displayed menu line item.
  1751.  
  1752.         2.  After the menu display lines, have a line that reads:
  1753.  
  1754.             KATASK n
  1755.  
  1756.             Substitute for "n", an actual number.  This number will be the
  1757.             default menu choice if the user just presses the ENTER key in
  1758.             response to your displayed menu.
  1759.  
  1760.         3.  KATASK reads in the input number & displays the following.  In the
  1761.             below example, 3 is the default choice.  KATASK requires the user
  1762.             to provide a number.  KATASK does not do a numeric value range
  1763.             check.  Your DOS batch file must use the IF ERRORLEVEL command to
  1764.             validate an allowable number range.
  1765.  
  1766.             Number of your menu choice? [default=3] =>
  1767.  
  1768.         4.  Whatever number is chosen (by default or by entry), KATASK sets
  1769.             the DOS ERRORLEVEL to that number & exits the program.
  1770.  
  1771.         5.  Follow the DOS documentation for the IF ERRORLEVEL command to
  1772.             process the KATASK output.  Look at the code in the DBS-KAT batch
  1773.             file, KATBOOK.BAT for a process handling example.
  1774.  
  1775.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 39
  1776.  
  1777.  
  1778.                                     APPENDIX D:
  1779.                               PROVIDED DBS-KAT FILES
  1780.  
  1781.      The distribution diskette contains these files:
  1782.  
  1783.      READ     ME    A short introductory note. To be read first.
  1784.      KATBOOK  OQT   The compressed DBS-KAT manuals.
  1785.      KATBOOK  BAT   The DOS Batch process to print manuals. Type: KATBOOK.
  1786.      KATBOOK2 BAT   Used by KATBOOK to print manual. Do not execute this.
  1787.      KAT      EQE   Compressed DBS-KAT program to update control record &
  1788.                     catalog diskette directory information into database.
  1789.      KATLOOK  EQE   Compressed program to allow inquiry against database.
  1790.      KATSCAN  EQE   Compressed program used by KAT.EXE to scan diskette
  1791.                     directory.  Also useful hard disk archive utility.
  1792.      KPRINT   EQE   Compressed multi-feature print program. Made for pro-
  1793.                     grammers.
  1794.      KATLOG   BAT   This & KATSTRIP.BAT are used in maintaining & recovering
  1795.      KATASK   COM   Program to prompt user for menu choice number.
  1796.      KATSTRIP BAT   DBS-KAT.
  1797.      KATSORT  BAT   Batch file to sort cataloged filenames in reverse
  1798.                     chronological order. Use KATLOOK to output a file first.
  1799.      KATORDER FQM   Compressed; install first, then type: KAT -O to print this
  1800.                     order form.
  1801.      KATBUG   FQM   Compressed; install first, then type: KAT -P to print this
  1802.                     problem report form.
  1803.      KATDB    DBD   The database comprises this & the next 5 files.
  1804.      KATDB    DA1   " ".
  1805.      KATDB    DA2   " ".
  1806.      KATDB    DA3   " ".
  1807.      KATDB    KE1   " ".
  1808.      KATDB    KE2   " ".
  1809.      USQ      COM   This (also known as ALUSQ, by Alan Losoff) & SQ (also
  1810.                     known as SQPC, by Vernon D. Buerg) are both public domain
  1811.                     programs which allowed the manuals to be compressed &
  1812.                     decompressed. SQ.EXE is not provided with DBS-KAT.
  1813.      VOLSER   COM   This is a device volume labeler program in the public
  1814.                     domain written by T. A. Davis. Can be used by DBS-KAT.
  1815.  
  1816.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 40
  1817.  
  1818.  
  1819.                                     APPENDIX E:
  1820.                  MINIMUM COMPUTER FILES NEEDED TO OPERATE DBS-KAT
  1821.  
  1822.      An installed DBS-KAT drive volume needs the following files on a drive
  1823.      formatted with the "/S" option. Files marked with a "*" are your DOS
  1824.      operating system files.
  1825.  
  1826.      COMMAND  COM *
  1827.      AUTOEXEC BAT
  1828.      BACKUP   COM *
  1829.      CONFIG   SYS
  1830.      FORMAT   COM *
  1831.      KAT      EXE
  1832.      KATDB    DA1
  1833.      KATDB    DA2
  1834.      KATDB    DA3
  1835.      KATDB    DBD
  1836.      KATDB    KE1
  1837.      KATDB    KE2
  1838.      KATSCAN  EXE
  1839.      KATASK   EXE
  1840.      KATLOG   BAT
  1841.      KATLOOK  EXE
  1842.      KATSORT  BAT
  1843.      KPRINT   EXE
  1844.      MORE     COM *
  1845.      RESTORE  COM *
  1846.      SORT     EXE *
  1847.      VOLSER   COM
  1848.  
  1849.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 41
  1850.  
  1851.  
  1852.                                     APPENDIX F:
  1853.                          WHY DOS 2.X USERS SHOULD UPDATE
  1854.                                TO DOS 3.2 OR DOS 3.3
  1855.  
  1856.      With DBS-KAT Version 2.10, users need to upgrade to DOS 3.X. DBS-KAT was
  1857.      developed under MS-DOS 3.10 & tested under it & PC-DOS 3.3. Since DBS-KAT
  1858.      is targeted for fixed disk users, it will greatly benefit you to upgrade
  1859.      to DOS 3.X. Below, I compare what you get with PC-DOS 3.3 that you didn't
  1860.      get with DOS 2.X. What isn't discussed below include the technical
  1861.      reasons DBS-KAT now relies upon DOS 3.X. The new internal DOS functions
  1862.      available under DOS 3.X, which can be read in a DOS 3.X Technical
  1863.      Reference Manual, enabled DBS-KAT to jointly enjoy a performance upgrade
  1864.      & to support foreign users who represent a large portion of the regis-
  1865.      tered users.
  1866.  
  1867.  
  1868.      SELECTED PC-DOS 3.3 MACHINE MANAGEMENT IMPROVEMENTS:
  1869.  
  1870.      PC-DOS 3.3 speeds up screen I/O. Although I haven't seen this documented
  1871.      in print. Myself & everyone who I have talked to, have noticed a sig-
  1872.      nificant speed improvement in screen operations such as DIR & TYPE.
  1873.  
  1874.      Under PC-DOS, all files occupy an amount of space equal to the cluster
  1875.      size that can hold the file size. PC-DOS 3.0 & higher were written to
  1876.      handle disk drives larger than 20 MB. If you create a single byte file
  1877.      under PC-DOS 2.X on a fixed disk, you lost 4,096 bytes on a 10 MB drive,
  1878.      8,192 bytes on a 20 MB drive, & so on. This is because of PC-DOS 2.X
  1879.      cluster size algorithm based upon it only being used with slow, 10 MB
  1880.      drives.
  1881.  
  1882.      Assume you install DOS 3.0 or higher & you FDISK removed the old DOS 2.X
  1883.      partition & recreated the drive anew starting from a FDISK install. Under
  1884.      PC-DOS 3.0 & higher, with disk drives 20 MB or larger, no matter how
  1885.      large your disk is, a single byte file only looses 2,048 bytes on a disk.
  1886.      Ten MB disk drives retain the same cluster size as under DOS 2.X (4096).
  1887.      Peter Norton wrote that on a 20 MB drive, using DOS 3.X versus DOS 2.X, a
  1888.      user gains about 10 percent in additional disk utilization because of
  1889.      this cluster size difference.
  1890.  
  1891.      Although not an official part of PC-DOS 3.3, IBM & many other vendors are
  1892.      supplying a disk caching software program with their 80286 computers.
  1893.      This allows memory, including memory above 640K, to be used to reduce
  1894.      disk I/O, thereby improving system speed. Disk caching is superior to a
  1895.      RAM disk, because turning a computer off with disk caching does not cause
  1896.      any loss of data & because disk caching speeds up all frequently used
  1897.      files, not just the ones that you predict will be frequently used.
  1898.  
  1899.  
  1900.      SELECTED PC-DOS 3.3 CONFIG.SYS FEATURES:
  1901.  
  1902.      1.  COUNTRY=
  1903.  
  1904.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 42
  1905.  
  1906.  
  1907.          For foreign users. With this, you can customize your keyboard &
  1908.          output to your language.
  1909.  
  1910.      2.  DEVICE=
  1911.  
  1912.          New device drivers (VDISK.SYS, DRIVER.SYS, DISPLAY.SYS) enable users
  1913.          (1) to use a portion of their memory (whether above or beneath 640 K
  1914.          RAM) as a high speed disk drive, (2) to reference one of their floppy
  1915.          disk drives as having two drive letters (even for users who have a
  1916.          drive A: & B:); & (3) support screen displays for IBM EGA & LCD
  1917.          monitors used in certain foreign countries.
  1918.  
  1919.      3.  LASTDRIVE=
  1920.  
  1921.          This clause & the DOS SUBST command allows users to have drives let-
  1922.          tered through Z:. With SUBST, users will often create an alias drive
  1923.          letter substitute for directories which are long to type out (e.g.,
  1924.          \WP\MULTIMATE\LIBRARY\LEGAL).
  1925.  
  1926.      4.  SHELL=
  1927.  
  1928.          Additions to this command allows users to create a larger DOS
  1929.          environment space, which then allows long PATH & PROMPT   clauses as
  1930.          well as user-defined environment variables. For example, suppose one
  1931.          has this line in their \CONFIG.SYS:
  1932.              SHELL=C:\COMMAND.COM /P /E:500
  1933.          Then one could easily have a DOS environment (shown by typing: SET &
  1934.          pressing ENTER) as follows:
  1935.              COMSPEC=C:\COMMAND.COM
  1936.              PROMPT $e[s$e[1;55H$e[K$e[41m$e[37m $d $e[40m$e[36m$e[u($p)
  1937.              PATH=E:\;C:\RIGHT;C:\;D:\BAT;D:\UTIL;C:\PCW;C:\DOS;C:\EC;C:\XY;
  1938.              C:\KAT;D:\RBFILES
  1939.              EC=C:\EC
  1940.              LC=D:\DEV
  1941.  
  1942.      SELECTED PC-DOS 3.3 COMMANDS:
  1943.  
  1944.      1.  APPEND
  1945.  
  1946.          APPEND lets you establish a search path for your overlay files, help
  1947.          & data files just as you can do for your executable files with PATH.
  1948.  
  1949.      2.  ATTRIB
  1950.  
  1951.          ATTRIB lets you alter a file's "archive" & "read-only" status. It can
  1952.          also determine the current settings of these attributes. One use is
  1953.          to alter the archive status & affect the operation of the BACKUP
  1954.          command.
  1955.  
  1956.      3.  BACKUP
  1957.  
  1958.          BACKUP now supports (1) backing up files modified since a given date
  1959.          & time (not just date alone); (2) formatting target diskettes if they
  1960.          are not formatted already; & (3) creating a log file (BACKUP.LOG).
  1961.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 43
  1962.  
  1963.  
  1964.  
  1965.      4.  CALL
  1966.  
  1967.          CALL allows a batch file to be called from within another batch file
  1968.          without ending the first batch file.
  1969.  
  1970.      5.  FASTOPEN
  1971.  
  1972.          FASTOPEN speeds up directory searches by storing in memory (normally
  1973.          they're stored in files) the location of directories & recently
  1974.          opened files. If you have a long PATH or your directories are large,
  1975.          this will significantly speed up your system.
  1976.  
  1977.      6.  FDISK
  1978.  
  1979.          FDISK now supports creating multiple logical drives within one
  1980.          physical drive. Since DOS is limited to 32 MB drive sizes, this
  1981.          allows DOS to support physical drives larger than 32 MB.
  1982.  
  1983.      7.  GRAFTABL
  1984.  
  1985.          GRAFTABL is used to display foreign language characters when in
  1986.          graphics mode on the color/graphics adapter.
  1987.  
  1988.      8.  GRAPHICS
  1989.  
  1990.          GRAPHICS now supports doing print-screents with more printer types,
  1991.          including color printers.
  1992.  
  1993.      9.  JOIN
  1994.  
  1995.          With JOIN, you can attach a floppy-disk drive to your hard disk as a
  1996.          subdirectory. Typing:  JOIN  A:  C:\NEWDIR   creates on drive C a new
  1997.          subdirectory called \NEWDIR yet updates/reads are made against the
  1998.          root directory of drive A.
  1999.  
  2000.      10. KEYB
  2001.  
  2002.          KEYB remaps your keyboard to support non-US English keyboards.
  2003.  
  2004.      11. LABEL
  2005.  
  2006.          LABEL allows you to create, change or delete a volume label on a
  2007.          disk.
  2008.  
  2009.      12. NLSFUNC
  2010.  
  2011.          NLSFUNC provides additional support for extended country information.
  2012.  
  2013.      13. PRINT
  2014.  
  2015.          PRINT now supports fine tuning of its buffer size, timing parameters,
  2016.          printer port & queue size.
  2017.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 44
  2018.  
  2019.  
  2020.  
  2021.      14. REPLACE
  2022.  
  2023.          REPLACE is an intelligent COPY command. You can elect to replace
  2024.          files if the source files are newer than the target files, replace
  2025.          matching files in all subdirectories on your disk, & replace read-
  2026.          only files. You can use REPLACE to copy only those files that do not
  2027.          exist on the target. You can ask REPLACE to prompt you for each file
  2028.          it wants to process.
  2029.  
  2030.      15. RESTORE
  2031.  
  2032.          RESTORE now supports (1) restoring files modified on or before a
  2033.          given date; (2) restoring files modified on or after a given date;
  2034.          (3) restoring files modified or deleted since they were backed up;
  2035.          (4) restoring files that no longer exist; (5) restoring only those
  2036.          files that were modified at or later than the given time; & (6)
  2037.          restoring only those files that were modified at or earlier than the
  2038.          given time.
  2039.  
  2040.      16. SELECT
  2041.  
  2042.          RESTORE installs DOS on a new disk with the keyboard layout, date &
  2043.          time format you select.
  2044.  
  2045.      17. SUBST
  2046.  
  2047.          SUBST allows one to refer to a directory by using a designated drive
  2048.          letter. This saves typing out long CHDIR (CD) commands.
  2049.  
  2050.      18. XCOPY
  2051.  
  2052.          XCOPY is a super-powered COPY command, which can include lower level
  2053.          subdirectories. Whereas the DOS COPY command is slow because it works
  2054.          one file at a time (if a file is less than 65,536 bytes large) or in
  2055.          65,536 byte chunks, the XCOPY command reads all files captured by
  2056.          your fileset argument into memory before writing out to the target.
  2057.          In addition, XCOPY can restrict itself to just copying those files
  2058.          that (1) which have the archive bit of the attribute set to one; (2)
  2059.          have a date the same or later than a specified date. XCOPY can create
  2060.          subdirectories on the target drive; it can turn off the archive bit
  2061.          of the source file; it can prompt you before copying each file; & it
  2062.          can copies files in the current directory or all those beneath it.
  2063.  
  2064.  
  2065.      SUMMARY: THE BEST REASONS TO UPGRADE TO PC-DOS 3.2 or 3.3
  2066.  
  2067.      Most of the above commands appear in MS-DOS or PC-DOS 3.2. CALL,
  2068.      FASTOPEN, & the new parameters for BACKUP & RESTORE are the significant
  2069.      DOS 3.3 goodies.
  2070.  
  2071.      The best reasons for fixed disk users with DOS 2.X to upgrade to 3.2 or
  2072.      3.3 are:
  2073.           DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 45
  2074.  
  2075.  
  2076.  
  2077.      -> faster performance
  2078.  
  2079.         (by FASTOPEN, XCOPY, VDISK, disk caching, improved screen I/O);
  2080.  
  2081.      -> better disk & file utilization
  2082.  
  2083.         (by improved FDISK; by smaller cluster size, by less redundant files
  2084.         on disk through APPEND), by better file archiving management through
  2085.         XCOPY, REPLACE, LABEL & the better BACKUP);
  2086.  
  2087.      -> more convenient to use
  2088.  
  2089.         (especially with LABEL, REPLACE, XCOPY, SUBST, SELECT, APPEND, BACKUP
  2090.         & RESTORE, PRINT & CALL);
  2091.  
  2092.      -> more fun
  2093.  
  2094.         (new SHELL clause in CONFIG.SYS supports a larger DOS environment
  2095.         space thereby allowing fancier PATH & PROMPT statements);
  2096.  
  2097.      -> more international;
  2098.  
  2099.         (a multitude of commands support foreign language users).
  2100.  
  2101.  
  2102.                                     DBS-KAT (R)
  2103.  
  2104.                             The Easy, Practical, Super
  2105.                             Capacity Diskette Cataloger
  2106.                            And Hard Disk Archive Utility
  2107.  
  2108.  
  2109.                                  INSTALLATION FOR
  2110.                                 NEW COMPUTER USERS
  2111.  
  2112.  
  2113.                                         by
  2114.                                     R.H. Martin
  2115.  
  2116.  
  2117.  
  2118.                               Applied Foresight Inc.
  2119.                                   P.O. Box  20607
  2120.                              Bloomington, Minn. 55420
  2121.  
  2122.  
  2123.                                    Nov. 13, 1987
  2124.  
  2125.  
  2126.  
  2127.  
  2128.                         Copyright 1986, 1987 by R.H. Martin
  2129.                                 All Rights Reserved
  2130.  
  2131.  
  2132.  
  2133.                           A DB-SHAREWARE Software Product
  2134.  
  2135.  
  2136.  
  2137.  
  2138.  
  2139.  
  2140.                     A limited license is hereby granted to copy
  2141.                   and distribute wholly unmodified copies of the
  2142.                DBS-KAT Software Diskette which contains this manual
  2143.  
  2144.                    (Read the manual, "THE DB-SHAREWARE PROGRAM"
  2145.                    for full details about this limited license)
  2146.  
  2147.  
  2148.  
  2149.  
  2150.  
  2151.  
  2152.  
  2153.  
  2154.  
  2155.  
  2156.  
  2157.           NOVICE INSTALL MANUAL      Copyright 1986 R.H. Martin         P. 2
  2158.  
  2159.  
  2160.  
  2161.                                  ABOUT THIS MANUAL
  2162.                                  -----------------
  2163.  
  2164.      A section is designated by a centered & underlined heading. Centered but
  2165.      NOT underlined headings are referred to as a subsection.
  2166.  
  2167.      Absolutely, do not use DBS-KAT prior to thoroughly following the
  2168.      installation instructions, including restarting your computer after
  2169.      following the installation instructions.
  2170.  
  2171.  
  2172.  
  2173.                                    INSTALLATION
  2174.                                    ------------
  2175.  
  2176.  
  2177.                                      OVERVIEW
  2178.  
  2179.      Installation requires that you configure your operating system
  2180.      environment to satisfactorily accomodate database management processing &
  2181.      that you install the DBS-KAT software on your hard disk.
  2182.  
  2183.      If you are already familiar with PC-DOS or MS-DOS, please follow the two
  2184.      page install instructions in the DBS-KAT general manual. These
  2185.      instructions are for those persons unfamiliar with PC-DOS & MS-DOS.
  2186.  
  2187.      This manual only substitutes for the two page install instructions in the
  2188.      general DBS-KAT manual. Prior to using this manual, you should printout
  2189.      the general manual first & read its section on "Hardware Requirements."
  2190.      After you follow the install instructions given for novices below, read
  2191.      the general manual sections which follow its condensed install
  2192.      instructions.
  2193.  
  2194.      At the end of your installation, you'll end up with some install files
  2195.      that don't need to be on your hard disk. To delete these files & the
  2196.      print process from your hard disk, position your cursor in the same
  2197.      directory on your hard disk where you installed DBS-KAT & type:
  2198.       DEL  USQ.*        & press ENTER.
  2199.       DEL  KATBOOK*.*   & press ENTER.
  2200.       DEL  *.EQE        & press ENTER.
  2201.       DEL  *.FQM        & press ENTER.
  2202.       DEL  READ.ME      & press ENTER.
  2203.  
  2204.  
  2205.           NOVICE INSTALL MANUAL      Copyright 1986 R.H. Martin         P. 3
  2206.  
  2207.  
  2208.                           INSTALLATION INSTRUCTIONS FOR
  2209.                              THE DOS 3.0+ NOVICE USER
  2210.  
  2211.      Installation requires the following specific acts. It is assumed that
  2212.      your floppy disk drive used is drive A & that your fixed hard disk drive
  2213.      is drive C. Read each step through before you actually following the
  2214.      instructions given during that step.
  2215.  
  2216.         1.  In this step, you will make a directory for DBS-KAT, copy the
  2217.             diskette contents to it, and make a backup copy of your DBS-KAT
  2218.             diskette for archival purposes.
  2219.  
  2220.             You should make a directory for DBS-KAT on your hard disk. What
  2221.             you will be instructed to do is to copy your source diskette (eg,
  2222.             your original DBS-KAT diskette) to this directory on your hard
  2223.             disk. Then you will remove the diskette in drive A & insert a
  2224.             formatted floppy in your drive A, which will be the target
  2225.             diskette to hold your backup copy of DBS-KAT.
  2226.  
  2227.             Type: MD C:\DBSKAT & press the ENTER key. This creates a directory
  2228.             on your hard disk, called "\DBSKAT".
  2229.  
  2230.             Insert your original DBS-KAT diskette in drive A. Type:
  2231.             COPY A:*.* C:\DBSKAT/V & press the ENTER key. This copies
  2232.             everything from drive A to your directory, \DBSKAT. The "/V"
  2233.             causes a verify function to occur throughout the COPY process.
  2234.  
  2235.             Remove your original DBS-KAT diskette from drive A. Insert a
  2236.             formatted diskette in drive A. If you don't know what "formatted"
  2237.             means, refer to your DOS GUIDE TO OPERATIONS manual & look up what
  2238.             the FORMAT command does.
  2239.  
  2240.             Just in case, you are using a previously used diskette with files
  2241.             on it that you don't care about anymore, you should delete these
  2242.             files before using the diskette again. Type: DEL A:*.* & press the
  2243.             ENTER key. You will be asked by the operating system if "Are you
  2244.             sure (Y/N)?". If you are sure that you want these files deleted,
  2245.             type: Y & press the ENTER key. If you didn't have any files on
  2246.             this diskette, you'll receive the message "file not found". Don't
  2247.             worry about this message.
  2248.  
  2249.             Type:  COPY  \DBSKAT\*.*  A:/V   & press ENTER.
  2250.             Type:  C:                        & press ENTER.
  2251.             Type:  CD  \DBSKAT               & press ENTER.
  2252.  
  2253.             Leave the floppy diskette in drive A until done with step 2.
  2254.  
  2255.         2.  You now need to decompress & install the DBS-KAT programs that are
  2256.             on the DBS-KAT diskette. You'll install them in the current
  2257.             directory of drive C: (which is \DBSKAT).
  2258.  
  2259.             Type:  A:       & press the ENTER key.
  2260.           NOVICE INSTALL MANUAL      Copyright 1986 R.H. Martin         P. 4
  2261.  
  2262.  
  2263.             Type:  KATBOOK  & press the ENTER key.
  2264.  
  2265.             Choose the option to decompress & install the DBS-KAT programs.
  2266.  
  2267.             Remove the floppy diskette in drive A & label it appropriately.
  2268.  
  2269.         3.  You now need to ensure that everytime you power on, that your
  2270.             system comes up with the right date & time, with its computer
  2271.             environment in tune to your root directory, & that it can handle
  2272.             the extra demands put on it by multi-file processing. In this
  2273.             step, we'll handle the CONFIG.SYS file, which addresses these
  2274.             extra demands.
  2275.  
  2276.             With your prompt positioned on the hard disk, type: CD \ & press
  2277.             the ENTER key. This moves you to the root directory, if you are
  2278.             not already there.
  2279.  
  2280.             You may or may not have a CONFIG.SYS file. Type: DIR CONFIG.SYS &
  2281.             press the ENTER key.
  2282.  
  2283.             A)If you get the message "File not found", type the following
  2284.                lines:
  2285.  
  2286.                Type: ECHO FILES=20 > CONFIG.SYS & press the ENTER key.
  2287.                Type: TYPE CONFIG.SYS & press the ENTER key. You should see the
  2288.                below:
  2289.                   FILES=20
  2290.  
  2291.                If you don't see the above, redo this step again.
  2292.  
  2293.                Go to step 4 now.
  2294.  
  2295.             B) If you got a display with the bottom line starting out as "1
  2296.                file(s)...", type: TYPE CONFIG.SYS & press the ENTER key. If
  2297.                you don't see a line that start out with "FILES=", type the
  2298.                following lines:
  2299.  
  2300.                Type: COPY CONFIG.SYS CONFIG.SAV & press the ENTER key.
  2301.                Type: ECHO FILES=20 >> CONFIG.SYS & press the ENTER key.
  2302.                Type: TYPE CONFIG.SYS & press the ENTER key. You should see
  2303.                      the below [you may see other lines than the below in your
  2304.                      CONFIG.SYS file]:
  2305.  
  2306.                      FILES=20
  2307.  
  2308.                If you don't see the new line, perform the following recovery
  2309.                steps:
  2310.  
  2311.                   Type: COPY CONFIG.SAV CONFIG.SYS & press the ENTER key. Now
  2312.                   redo the above ECHO command followed by the TYPE command.
  2313.                   You can erase your backed up CONFIG.SYS file, type: DEL
  2314.                   CONFIG.SAV & press the ENTER key. Now go to step 4.
  2315.           NOVICE INSTALL MANUAL      Copyright 1986 R.H. Martin         P. 5
  2316.  
  2317.  
  2318.  
  2319.             C) If you did see a line that start out with "FILES=", you'll have
  2320.                to use an editor of some sort which can work with plain ASCII
  2321.                files. If you don't understand this last, sentence, then just
  2322.                follow the instructions here. We'll use the DOS freebie editor,
  2323.                EDLIN.COM. Make sure you have copied this program onto your
  2324.                hard disk from your original DOS diskette. Study the sample
  2325.                editing session shown on the next page before being given
  2326.                specific instructions:
  2327.  
  2328.                ===============================================================
  2329.                ACTUAL COMPUTER INPUT/OUTPUT                         Ref Line #
  2330.                -----------------------------------------------      ----------
  2331.                >COPY CONFIG.SYS CONFIG.SAV                               A
  2332.                    1 File(s) copied
  2333.  
  2334.                >TYPE CONFIG.SYS                                          B
  2335.                BREAK=ON
  2336.                FILES=20
  2337.                DEVICE=ANSI.SYS
  2338.  
  2339.                >EDLIN CONFIG.SYS                                         C
  2340.                End of input file
  2341.                *L                                                        D
  2342.                          1:*BREAK=ON
  2343.                          2: FILES=10
  2344.                          3: DEVICE=ANSI.SYS
  2345.                          4:
  2346.                *2                                                        E
  2347.                          2:*FILES=10                                     F
  2348.                          2:*FILES=20                                     G
  2349.                *L                                                        H
  2350.                          1: BREAK=ON
  2351.                          2:*FILES=20
  2352.                          3: DEVICE=ANSI.SYS
  2353.                          4:
  2354.                *E                                                        I
  2355.  
  2356.                >TYPE CONFIG.SYS                                          J
  2357.                BREAK=ON
  2358.                DEVICE=ANSI.SYS
  2359.                FILES=20
  2360.  
  2361.                >DEL CONFIG.SAV                                           K
  2362.                ==============================================================
  2363.  
  2364.                Because your CONFIG.SYS file may have a different number of
  2365.                lines in it than the one shown, you'll have to modify it
  2366.                following the principles documented here, rather than blindly
  2367.                following instructions. To aid you, you'll be given an overview
  2368.                of what occurred above.
  2369.  
  2370.           NOVICE INSTALL MANUAL      Copyright 1986 R.H. Martin         P. 6
  2371.  
  2372.  
  2373.                Line A shows the user typing the entire line following the
  2374.                prompt symbol ">". This is done for backup, safety purposes.
  2375.                You should perform this line as shown.
  2376.  
  2377.                Line B shows the user looking at the CONFIG.SYS file prior to
  2378.                entering into an EDLIN editor session. You can do this also if
  2379.                you want to.
  2380.  
  2381.                Line C shows the user invoking the EDLIN editor program against
  2382.                the file CONFIG.SYS. You should perform this line as well as
  2383.                Line D as shown. Line D lists the file to the screen. The
  2384.                output is the same as that of Line B, except that line numbers
  2385.                appear now.
  2386.  
  2387.                Line E shows the user typing this line number, corresponding to
  2388.                the "FILES=" statement & pressing the ENTER key. Using the
  2389.                appropriate line number, you should do this as well. Line F &
  2390.                the "2:*" of line G are shown in return, & the user's cursor is
  2391.                positioned to the right of the "*".
  2392.  
  2393.                Line G shows the user typing "FILES=20" & pressing the ENTER
  2394.                key. Using the appropriate line number, you should do this as
  2395.                well. Line H shows the user relisting the edited file.
  2396.  
  2397.                Line I shows the user ending the EDLIN editor session, which
  2398.                saves his changes to the disk & exits him back to the DOS
  2399.                level. Line J shows the user retyping the CONFIG.SYS file back
  2400.                to the screen. This confirms that the file was edited
  2401.                correctly. Line K shows the user deleting the unused backup
  2402.                file.
  2403.  
  2404.         4.  You still need to ensure that everytime you power on, that your
  2405.             system comes up with the right date & time, with its computer
  2406.             environment in tune to your root directory and at least the DBSKAT
  2407.             directory. Similarly to how we handled the CONFIG.SYS file, we'll
  2408.             now handle the AUTOEXEC.BAT file, which can be made to ensure all
  2409.             these things. First, you are recommended to read the section in
  2410.             your DOS manual about "PATH".
  2411.  
  2412.             Regardless of whether you have a system clock, which you'll have
  2413.             if you have an IBM AT, you'll be recommended to include in your
  2414.             AUTOEXEC.BAT file DATE & TIME statements. This is because your
  2415.             clock can get off for several reasons, & being reminded of the
  2416.             current date & time upon each power-up is good practice. For sure,
  2417.             your clock will be off when you change to/from daylight savings
  2418.             time or when your clock battery gets weak.
  2419.  
  2420.             In addition, although it is not required, since it is a nice
  2421.             enough feature to include, you'll be shown a way to modify your
  2422.             system prompt to always remind you of where you are at on the hard
  2423.             disk.  The PROMPT ($P) line will change your system prompt from a
  2424.             ">" to a "(C:\)" instead. If you happen to be in a created
  2425.           NOVICE INSTALL MANUAL      Copyright 1986 R.H. Martin         P. 7
  2426.  
  2427.  
  2428.             directory that you might have for some other purpose, such as \WP
  2429.             (for your word processor), you'll see your prompt like this:
  2430.             "(C:\WP)".
  2431.  
  2432.             You may or may not have a AUTOEXEC.BAT file. Type:
  2433.             DIR AUTOEXEC.BAT & press the ENTER key.
  2434.  
  2435.             A) If you get the message "File not found", type the following
  2436.                lines:
  2437.  
  2438.                Type: ECHO PATH=C:\;C:\DBSKAT > AUTOEXEC.BAT & press the ENTER
  2439.                      key.
  2440.                Type: ECHO DATE >> AUTOEXEC.BAT & press the ENTER key.
  2441.                Type: ECHO TIME >> AUTOEXEC.BAT & press the ENTER key.
  2442.                Type: ECHO PROMPT ($P) >> AUTOEXEC.BAT & press the ENTER key.
  2443.                Type: TYPE AUTOEXEC.BAT & press the ENTER key. You should see
  2444.                      the below:
  2445.  
  2446.                      PATH=C:\;C:\DBSKAT
  2447.                      DATE
  2448.                      TIME
  2449.                      PROMPT ($P)
  2450.  
  2451.                If you don't see the above, redo the four ECHO lines, & don't
  2452.                forget one greater-than sign on the first line & two greater-
  2453.                than signs on the following lines.
  2454.  
  2455.                Go to step 5 now.
  2456.  
  2457.             B) If you got a display with the bottom line starting out as "1
  2458.                file(s)...", type: TYPE AUTOEXEC.BAT & press the ENTER key. If
  2459.                you don't see any lines that start out with "PATH", "DATE",
  2460.                "TIME" & "PROMPT", type the following lines:
  2461.  
  2462.                Type: COPY AUTOEXEC.BAT AUTOEXEC.SAV & press the ENTER key.
  2463.                Type: ECHO PATH=C:\;C:\DBSKAT >> AUTOEXEC.BAT & press the ENTER
  2464.                      key.
  2465.                Type: ECHO DATE >> AUTOEXEC.BAT & press the ENTER key.
  2466.                Type: ECHO TIME >> AUTOEXEC.BAT & press the ENTER key.
  2467.                Type: ECHO PROMPT ($P) >> AUTOEXEC.BAT & press the ENTER key.
  2468.                Type: TYPE AUTOEXEC.BAT & press the ENTER key. You should see
  2469.                      the below [you may see other lines than the below in your
  2470.                      AUTOEXEC.BAT file]:
  2471.  
  2472.                      PATH=C:\;C:\DBSKAT
  2473.                      DATE
  2474.                      TIME
  2475.                      PROMPT ($P)
  2476.  
  2477.  
  2478.                If you don't see the new lines, perform the following recovery
  2479.                steps:
  2480.           NOVICE INSTALL MANUAL      Copyright 1986 R.H. Martin         P. 8
  2481.  
  2482.  
  2483.  
  2484.                   Type: COPY AUTOEXEC.SAV AUTOEXEC.BAT & press the ENTER key.
  2485.                   Now redo the above ECHO commands followed by the TYPE
  2486.                   command. Don't forget to use two greater-than signs for each
  2487.                   ECHO command line. You can erase your backed up AUTOEXEC.BAT
  2488.                   file, type: DEL AUTOEXEC.SAV & press the ENTER key. Now go
  2489.                   to step 5.
  2490.  
  2491.             C) If you did see lines that start out with "PATH", "DATE",
  2492.                "TIME", or "PROMPT", you may have to use an editor of some sort
  2493.                which can work with plain ASCII files. If you don't understand
  2494.                this last, sentence, then just follow the instructions here.
  2495.                We'll use the DOS freebie editor, EDLIN.COM. Make sure you have
  2496.                copied this program onto your hard disk from your original DOS
  2497.                diskette. Study the sample editing session shown on the next
  2498.                page before being given specific instructions:
  2499.  
  2500.           NOVICE INSTALL MANUAL      Copyright 1986 R.H. Martin         P. 9
  2501.  
  2502.  
  2503.                ==============================================================
  2504.                ACTUAL COMPUTER INPUT/OUTPUT                        Ref Line #
  2505.                ------------------------------------------------    ----------
  2506.                >COPY AUTOEXEC.BAT AUTOEXEC.SAV                              A
  2507.                    1 File(s) copied
  2508.  
  2509.                >TYPE AUTOEXEC.BAT                                           B
  2510.                PATH=C:\DOS
  2511.                VERIFY ON
  2512.                CHKDSK /F
  2513.  
  2514.                >EDLIN AUTOEXEC.BAT                                          C
  2515.                End of input file
  2516.                *L                                                           D
  2517.                          1:*VERIFY ON
  2518.                          2: PATH=C:\DOS
  2519.                          3: CHKDSK /F
  2520.                          4:
  2521.                *2 D                                                         E
  2522.                *L                                                           F
  2523.                          1: VERIFY ON
  2524.                          2:*CHKDSK /F
  2525.                          3:
  2526.                *I                                                           G
  2527.                          2:*PATH=C:\;C:\DOS;C:\DBSKAT                       H
  2528.                          3:*DATE                                            I
  2529.                          4:*TIME                                            J
  2530.                          5:*PROMPT ($P)                                     K
  2531.                          6:*^Z                                              L
  2532.                *E                                                           M
  2533.  
  2534.                >TYPE AUTOEXEC.BAT                                           N
  2535.                VERIFY ON
  2536.                PATH=C:\;C:\DOS;C:\DBSKAT
  2537.                DATE
  2538.                TIME
  2539.                PROMPT ($P)
  2540.                CHKDSK /F
  2541.  
  2542.                >DEL AUTOEXEC.SAV                                            O
  2543.                ==============================================================
  2544.  
  2545.                Because your AUTOEXEC.BAT file may have a different number of
  2546.                lines in it than the one shown, you'll have to modify it
  2547.                following the principles documented here, rather than blindly
  2548.                following instructions. To aid you, you'll be given an overview
  2549.                of what occurred above.
  2550.  
  2551.                You should first be forewarned that you might have an
  2552.                AUTOEXEC.BAT which "chains" to other ".BAT" files. If so, then
  2553.                it is very important that you have an experienced DOS user
  2554.                modify your AUTOEXEC.BAT correctly. Chances are that your
  2555.           NOVICE INSTALL MANUAL      Copyright 1986 R.H. Martin         P. 10
  2556.  
  2557.  
  2558.                AUTOEXEC.BAT file is not engaged in chaining operations, & the
  2559.                below instructions should suit you adequately.
  2560.  
  2561.                If you are curious whether a particular line is a command to
  2562.                chain to another .BAT file, you can verify your hunch in the
  2563.                following manner. Pretend a line in your AUTOEXEC.BAT file
  2564.                reads "MENU". To find out if this is a command to chain to a
  2565.                .BAT file or if it is invoking a program, type: CHKDSK/V | FIND
  2566.                "MENU." & press the ENTER key. If all you see in response
  2567.                (which might be 2-3 minutes) is something like this,
  2568.                "C:\UTIL\MENU.BAT", you can bet that AUTOEXEC.BAT will do a
  2569.                chain operation when this line is executed, meaning that no
  2570.                entries following this line will be executed if the chain line
  2571.                is executed. Again, if you suspect chaining to another .BAT
  2572.                file occurs in your AUTOEXEC.BAT file, you are recommended to
  2573.                seek the help of an experienced DOS user to modify your
  2574.                AUTOEXEC.BAT correctly.
  2575.  
  2576.                Line A shows the user typing the entire line following the
  2577.                prompt symbol ">". This is done for backup, safety purposes.
  2578.                You should perform this line as shown.
  2579.  
  2580.                Line B shows the user looking at the AUTOEXEC.BAT file prior to
  2581.                entering into an EDLIN editor session. You can do this also if
  2582.                you want to. Looking at this AUTOEXEC.BAT file, one can see
  2583.                that is lacks a "DATE", "TIME", & "PROMPT" statement.
  2584.  
  2585.                However, this AUTOEXEC.BAT does have some nice safety features
  2586.                in it. Notice that it does a CHKDSK /F for the user
  2587.                automatically upon power up. It also causes the DOS COPY VERIFY
  2588.                function to always work, regardless of using the "/V" on the
  2589.                DOS COPY command. You may also want to consider adding these
  2590.                two AUTOEXEC.BAT commands as well. You aren't required to by
  2591.                DBS-KAT though, just as you aren't required to use a special
  2592.                PROMPT. It's just that using these features can make your hard
  2593.                disk operations cleaner.
  2594.  
  2595.                The "PATH" line shown under Line B is inadequate for the only
  2596.                directory pointed to in it is the directory called "C:\DOS".
  2597.                For example, if the line read "PATH=C:\;C:\DOS;C:\DBSKAT",
  2598.                "PATH=\;\DOS;\DBSKAT", or  "PATH=\DOS;\;\DBSKAT", the "PATH"
  2599.                line would be correct. One does not need the "=" sign, in place
  2600.                of it could be a blank space. One can also have a semicolon ";"
  2601.                at the end of the line with no harm. What is wrong about the
  2602.                "PATH" statement shown by Line B's action is that the root
  2603.                directory "\" or "C:\" and the "\DBSKAT" or "C:\DBSKAT"
  2604.                directory is not in the PATH. The literal "C:\DOS" refers to
  2605.                the subdirectory "\DOS".
  2606.  
  2607.                If everything looks correct in your AUTOEXEC.BAT, you can
  2608.                proceed to Step 5 now.
  2609.  
  2610.           NOVICE INSTALL MANUAL      Copyright 1986 R.H. Martin         P. 11
  2611.  
  2612.  
  2613.                Line C shows the user invoking the EDLIN editor program against
  2614.                the file AUTOEXEC.BAT. You should perform this line as well as
  2615.                Line D as shown. Line D lists the file to the screen. The
  2616.                output is the same as that of Line B, except that line numbers
  2617.                appear now. You should note the first line number alongside the
  2618.                "PATH" statement. If you see a "PROMPT" statement, then you
  2619.                already know enough about it to have it already tailored to
  2620.                your needs & you might as well leave it as you already have it.
  2621.                If you see a "DATE" or "TIME" statement, then you don't need to
  2622.                delete it & then re-enter it. Leave these two statements where
  2623.                they lay.
  2624.  
  2625.                Line E shows the user deleting the old entry for the "PATH"
  2626.                statement. Using the appropriate line number, you should do
  2627.                this as well. Line F shows the user relisting the edited file.
  2628.                Note the re-arranging of the line numbers.
  2629.  
  2630.                Line G shows the user preparing to insert the lacking
  2631.                statements. If you already have a "PATH" line, but it doesn't
  2632.                include reference to the root directory, then retype a "PATH"
  2633.                line like the old, but with reference to the root directory in
  2634.                it, as shown in this example. Lines H through K show the actual
  2635.                insertion lines. Line L shows the user ending the insertion
  2636.                process by pressing the F6 function key followed by an ENTER
  2637.                key. You'll have to do this as well.
  2638.  
  2639.                Line M shows the user ending the EDLIN editor session, which
  2640.                saves his changes to the disk & exits him back to the DOS
  2641.                level. Line N shows the user retyping the AUTOEXEC.BAT file
  2642.                back to the screen. This confirms that the file was edited
  2643.                correctly. Line O shows the user deleting the unused backup
  2644.                file.
  2645.  
  2646.         5.  You should restart your computer now. You will now benefit from
  2647.             the changes made above.
  2648.  
  2649.         6.  Make sure that you have the following DOS programs loaded onto
  2650.             your hard disk: FORMAT, SORT, BACKUP, RESTORE & MORE. These
  2651.             programs are DOS programs which DBS-KAT expects to be able to run,
  2652.             if you choose the option which uses them. (Don't worry about the
  2653.             FORMAT command & your hard disk. DBS-KAT only allows you to FORMAT
  2654.             drive A or drive B.)  Chances are you have these programs already
  2655.             installed in a \DOS directory or your root directory. If you don't
  2656.             have these programs on your hard disk, insert your original DOS
  2657.             diskette in drive A: & type the following commands:
  2658.                COPY  A:FORMAT.*  C:\ /V   & press ENTER.
  2659.                COPY  A:BACKUP.*  C:\ /V   & press ENTER.
  2660.                COPY  A:RESTORE.* C:\ /V   & press ENTER.
  2661.                COPY  A:SORT.*    C:\ /V   & press ENTER.
  2662.                COPY  A:MORE.*    C:\ /V   & press ENTER.
  2663.  
  2664.         7.  Hopefully you have done this before this, but to be safe, we will
  2665.             verify that your equipment meets the recommended requirements
  2666.             listed under the "HARDWARE REQUIREMENTS" section.
  2667.           NOVICE INSTALL MANUAL      Copyright 1986 R.H. Martin         P. 12
  2668.  
  2669.  
  2670.  
  2671.             First, you should have an IBM or compatible type personal
  2672.             computer. This product was developed on a COMPAQ PLUS and Heathkit
  2673.             Z-241 AT Compatible, so it definitely runs on an IBM compatible
  2674.             type computer.
  2675.  
  2676.             Next, you need to have the correct version of either the PC-DOS or
  2677.             the MS-DOS operating system. Type: VER & press the ENTER key. The
  2678.             N.NN number which appears on the far right hand side of the
  2679.             displayed line should be greater than or equal to 3.00. If it is,
  2680.             & you either see the phrase "PC-DOS" or "MS-DOS", then you have a
  2681.             supported operating system environment. The current version of
  2682.             DBS-KAT was developed under MS-DOS 3.10.
  2683.  
  2684.             Next, you need to know about your hard disk & available user
  2685.             memory. Type: CHKDSK C: & press the ENTER key. If you get the
  2686.             message "Bad command or file name", you should put your original
  2687.             DOS diskette in drive A & type: A:CHKDSK C: & press the ENTER key.
  2688.  
  2689.                If the program asks you for a "Y" or "N", go ahead & answer "N"
  2690.                for the time being. When you get the prompt back, you might
  2691.                want read up in your DOS manual about the CHKDSK program. Then
  2692.                you should consider rerunning the command in the following
  2693.                manner. Type: CHKDSK C:/F & press the ENTER key. When given the
  2694.                "Y" or "N" prompt, answer "Y" this time. Then you might want to
  2695.                type out the files, "C:\FILE0???.CHK". You should seek expert
  2696.                advice about what these file displays mean. Once satisfied, you
  2697.                could then delete these files "C:\FILE0???.CHK".
  2698.  
  2699.             The number that appears alongside the CHKDSK phrase "bytes total
  2700.             disk space" should be at least a 7 or higher digit number,
  2701.             indicating that you intend to run your software either on a high
  2702.             capacity 1.2MB floppy or, preferrably, on a hard disk (in which
  2703.             case, you'll have a 8 or higher digit number).
  2704.  
  2705.             The number that appears alongside the CHKDSK phrase "bytes
  2706.             available on disk" should indicate at least 500,000 (or 0.5 MB),
  2707.             for with the software & even a small DBS-KAT database (after a
  2708.             month's usage), you'll be using up at least this much disk space.
  2709.             Covering 500 diskettes & 10,050 filenames, will require about
  2710.             925,000 bytes (or 0.925 MB). This 0.925 MB figure includes the
  2711.             DBS-KAT software space requirements.
  2712.  
  2713.             Make sure you have adequate disk space before doing DBS-KAT
  2714.             install.
  2715.  
  2716.             The number that appears alongside the CHKDSK phrase "bytes free"
  2717.             indicates available user memory (RAM available). You are advised
  2718.             to have at least 262,144 bytes of RAM or 256K RAM free before
  2719.             running DBS-KAT. DBS-KAT may run slightly under that amount of RAM
  2720.             free space, but you do so at your own risk.
  2721.  
  2722.           NOVICE INSTALL MANUAL      Copyright 1986 R.H. Martin         P. 13
  2723.  
  2724.  
  2725.         8.  Go to paragraph 7 in the USER MANUAL, under the subsection
  2726.             entitled "SHORT INSTALLATION INSTRUCTIONS FOR THE DOS 3.0+
  2727.             EXPERIENCED USER", in the section on "INSTALLATION."
  2728.  
  2729.                                    OVERVIEW:
  2730.         DBS-KAT (R) - THE COMPLETE FILE LIBRARIAN DB-SHAREWARE PACKAGE
  2731.  
  2732.             The Easy, Practical, Super Capacity Diskette Cataloger
  2733.                          And Hard Disk Archive Utility
  2734.  
  2735.                           by Applied Foresight, Inc.
  2736.                                 P.O. Box 20607
  2737.                            Bloomington, Minn.  55420
  2738.                      (C) Copyright 1986-1989 R.H. Martin.
  2739.                              All Rights Reserved.  
  2740.  
  2741.      DBS-KAT is a DB-SHAREWARE product which means the basic, full-featured, 
  2742.      system disk can be freely shared with other users. For more information 
  2743.      about DB-SHAREWARE, a manual introducing the program is on the system 
  2744.      disk for you to print out.
  2745.  
  2746.      DBS-KAT is for 320 KB RAM computers which have at least PC-DOS or MS-
  2747.      DOS 3.00 or greater and have a hard disk.
  2748.  
  2749.  
  2750.                            DBS-KAT BASE SYSTEM FEATURES
  2751.  
  2752.      OVERALL FEATURES:
  2753.  
  2754.      * Accomodates 9,999 diskettes containing up to 16 million filenames in 
  2755.        one central database.
  2756.      * Accomodates cataloging removeable disk cartridges.
  2757.      * Filenames cataloged without any data entry required.
  2758.      * Designed to meet the cataloging needs of hard disk owners.
  2759.      * Enables hard disk owners to consider their diskettes an extension of
  2760.        their hard disk subdirectories.
  2761.      * Condensed online help screen.
  2762.      * Feature-rich programmer source code print program included (KPRINT).
  2763.      * Useful hard disk archive utility program included (KATSCAN).
  2764.      * Useful batch file utility program to facilitate menu-driven operations
  2765.        included (KATASK).
  2766.      * Thorough documentation, including recovery documentation & a manual for 
  2767.        both DOS novices & advanced users.
  2768.      * Version 2.10 & greater reads the volume label in such a way as to 
  2769.        support non-USA PC/MS-DOS versions. 
  2770.      
  2771.      CATALOG UPDATING FEATURES:
  2772.  
  2773.      * Add or change a 4 digit diskette volume label within program.
  2774.      * Embedded volume labels of any length/format can be retained.  User must
  2775.        assign a logical 4 digit diskette volume ID to associate w/diskette.
  2776.      * Optionally create unique header record for each cataloged diskette. 
  2777.      * Diskette header carries freespace and filesum number for each 
  2778.        diskette without any user entry involved.
  2779.      * Allows user-created default answers to diskette header fields, which
  2780.        can be changed or over-ridden.
  2781.      * Files located in diskette subdirectories are automatically cataloged.
  2782.      * Allows directory lists, deletes, or format of diskettes within program.
  2783.      * Allows a database backup while in the program.
  2784.      * Switch to cataloging another diskette drive or removeable disk 
  2785.        cartridge while in the program.
  2786.      * Empty diskettes are specially processed as scratch diskettes.
  2787.      * Optimized for speed, written in C using DB_VISTA database manager.
  2788.  
  2789.  
  2790.      * Recognizes a previously cataloged, unchanged diskette, informs the 
  2791.        user and bypasses recataloging.
  2792.      * Optional support for RAM disk utilization for program work files.
  2793.      * Uses file compression techniques.
  2794.      * Maintains a log file of 4 digit volume IDs processed,
  2795.        which can aid database recovery if the database is ever damaged.
  2796.  
  2797.  
  2798.      CATALOG INQUIRY FEATURES:
  2799.  
  2800.      * Password required to view contents of database, --database owner can
  2801.        change this password (i.e., 2 passwords: user's & owner's).
  2802.      * Lists all database filenames or diskette header records, or subsets of
  2803.        either.
  2804.      * Can list diskettes by volume ID order or by descending free space 
  2805.        order.
  2806.      * Can list diskettes whose header record meets the selection criteria 
  2807.        given by user.  
  2808.      * Provides list of scratch diskettes.
  2809.      * Easy method to list what diskettes hold backups of DBS-KAT database.
  2810.      * Diskette list shows the previous & following diskette volume for a 
  2811.        multi-diskette set.  
  2812.      * Identifies BACKUP or other type volume.  
  2813.      * Lists uncataloged diskette numbers available.
  2814.      * Selection can be by exact or partial match.
  2815.      * User's search phrase can be exact length or be a left justified phrase
  2816.        or floating phrase.  
  2817.      * Selection can include the filename, file extension, comment information,
  2818.        a beginning/ending filedate range, &/or directory location (if contained 
  2819.        in a directory on the diskette).
  2820.      * Retrieval can be limited to entries cataloged at home, work or at both
  2821.        locations.  
  2822.      * Listings can be directed to the screen, printer or file.
  2823.      * Listings can be interrupted by pressing the ESC key.
  2824.      * Screen listings pause until any key is pressed.  
  2825.      * Listings carry a date/time stamp and headings.  
  2826.      * Retrieval list can be sorted in reverse chronological order or user-
  2827.        modified to sort on any desired field.  
  2828.  
  2829.                                   TO USE DBS-KAT
  2830.  
  2831.      Insert the DBS-KAT diskette in drive A:.  Then type the following:
  2832.      TYPE  A:READ.ME    and press the ENTER key. Follow the instructions 
  2833.      given to print out the DBS-KAT user manuals.  The manuals have install 
  2834.      & usage instructions.  
  2835.      
  2836.      
  2837.                                       NOTES
  2838.      
  2839.      DB_VISTA is a trademark of RAIMA Corporation, 12201 SE Tenth St., 
  2840.      Bellevue, WA  98005 
  2841.      
  2842.      DBS-KAT was originally released under the name, PC-KAT.
  2843.      
  2844.               EVERYTHING DESCRIBED HERE IS ON THE ENCLOSED DISKETTE.  
  2845.                             THIS IS NOT DEMO SOFTWARE!
  2846.  
  2847.  
  2848.  
  2849.                                     DBS-KAT (R)
  2850.  
  2851.                             The Easy, Practical, Super
  2852.                             Capacity Diskette Cataloger
  2853.                            And Hard Disk Archive Utility
  2854.  
  2855.  
  2856.                             TECHNICAL REFERENCE MANUAL
  2857.  
  2858.  
  2859.                                         by
  2860.                                     R.H. Martin
  2861.  
  2862.  
  2863.                               Applied Foresight Inc.
  2864.                                   P.O. Box 20607
  2865.                               Bloomington, MN  55420
  2866.  
  2867.                                    April 1, 1989
  2868.                                      Ver. 2.20
  2869.  
  2870.  
  2871.  
  2872.                         Copyright 1986, 1987 by R.H. Martin
  2873.                                 All Rights Reserved
  2874.  
  2875.  
  2876.  
  2877.                           A DB-SHAREWARE Software Product
  2878.  
  2879.  
  2880.  
  2881.  
  2882.  
  2883.  
  2884.                     A limited license is hereby granted to copy
  2885.                    & distribute wholly unmodified copies of the
  2886.                DBS-KAT Software Diskette which contains this manual
  2887.  
  2888.                    (Read the manual, "THE DB-SHAREWARE PROGRAM"
  2889.                    for full details about this limited license)
  2890.  
  2891.  
  2892.  
  2893.  
  2894.  
  2895.  
  2896.  
  2897.  
  2898.  
  2899.  
  2900.  
  2901.           DBS-KAT TECH REF MANUAL      Copyright 1986 R.H. Martin      P. 2
  2902.  
  2903.  
  2904.  
  2905.                                  TABLE OF CONTENTS
  2906.  
  2907.      Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
  2908.      About This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
  2909.      Efficiency Of DBS-KAT. . . . . . . . . .. . . . . . . . . . . . . . . . 3
  2910.      DBS-KAT Inquiry Search Strategies . . . . . . . . . . . . . . . . . . . 5
  2911.      Recovering Your Database. . . . . . . . . . . . . . . . . . . . . . . . 7
  2912.      Upgrading A PC-KAT/Pre-2.0 DBS-KAT Database . . . . . . . . . . . . . . 9
  2913.      DBS-KAT Version History . . . . . . . . . . . . . . . . . . . . . . . .11
  2914.  
  2915.  
  2916.                                  ABOUT THIS MANUAL
  2917.  
  2918.      With the exception of the Registration Benefits section, this manual
  2919.      restricts itself to the base DBS-KAT software diskette.  The concept of
  2920.      "base software" is discussed in greater detail in the THE DB-SHAREWARE
  2921.      PROGRAM manual.
  2922.  
  2923.      A section is designated by a centered & underlined heading.  Centered but
  2924.      NOT underlined headings are referred to as a subsection.
  2925.  
  2926.  
  2927.           DBS-KAT TECH REF MANUAL      Copyright 1986 R.H. Martin      P. 3
  2928.  
  2929.  
  2930.                                EFFICIENCY OF DBS-KAT
  2931.  
  2932.      DBS-KAT is fast & efficient, minimizing the amount of disk space required
  2933.      to store the cataloged information.  Each date & time field is con-
  2934.      catenated together & stored as a 4 byte long integer.  In plain words,
  2935.      what you see on the screen as 10 bytes of information is stored in 4
  2936.      bytes of storage.  The four byte volume ID is stored as a 2 byte integer.
  2937.      If a diskette filename is associated with a floppy subdirectory, the
  2938.      directory name is separately stored in the database only once in its
  2939.      alphabetical description form, & given an ID number.  This ID number is
  2940.      carried in the appropriate individual filename records.
  2941.  
  2942.      The entire DBS-KAT database is kept in the files prefixed as KATDB.DA &
  2943.      KATDB.KE.  The database contains the system control record, the diskette
  2944.      volume text information & the directory file information for all
  2945.      cataloged files.  In addition, all the record pointers are stored in the
  2946.      database to allow quick updating & retrieval of information.   The file
  2947.      KATDB.DBD is the data base structure dictionary which never grows but is
  2948.      needed for the programs to work & must reside in the same directory area
  2949.      on the hard disk alongside the other KATDB files.
  2950.  
  2951.      What this means is that although DBS-KAT must keep its inter-
  2952.      relationships connected at the disk drive level versus smaller packages
  2953.      which do most of their inter-relationships at runtime in memory, DBS-KAT
  2954.      does not use up hardly any more disk space, & that is because of its
  2955.      efficient use of disk space.  Additionally, DBS-KAT has to allow for its
  2956.      database pointers to expand up to 16 million records.  What this means is
  2957.      that on the average, DBS-KAT uses up only 7 percent more space per
  2958.      cataloged directory entry than does its competitors.
  2959.  
  2960.      The other packages gain their processing efficiency by storing the entire
  2961.      database in memory at run time.  That is why they can't get larger,
  2962.      because they are constrained by available program data memory space.
  2963.      Yet, without significantly sacrificing additional disk space, DBS-KAT
  2964.      uses disk space to hold its pointers, & achieves comparable processing
  2965.      efficiency on a catalog database capable of holding 16 million records.
  2966.  
  2967.      The author maintains for himself a DBS-KAT database of over 18,000
  2968.      filenames & around eight hundred diskettes.
  2969.  
  2970.      Throughout the built-up of this database, the author has not noticed a
  2971.      worsening of processing performance, except that a display request for a
  2972.      floating substring phrase within any & all cataloged filenames does take
  2973.      a little longer as the database grows.  To use the DOS DIR command syntax
  2974.      to explain this type of search request, although DOS does not honor such
  2975.      a search request, if it did, a request might look like this: DIR *CAT*.
  2976.      On a COMPAQ PLUS, with 8,000 filenames in a DBS-KAT database, it takes
  2977.      under 2 minutes for such a search to finish, whereas with 6,000
  2978.      filenames, it takes under 1.5 minutes.  Search requests for left-hand
  2979.      anchored substring phrases within any & all cataloged filenames is
  2980.      extremely rapid, taking only a couple of seconds to fulfill.  A search
  2981.      request at the DOS DIR level might look like: DIR CAT*.
  2982.           DBS-KAT TECH REF MANUAL      Copyright 1986 R.H. Martin      P. 4
  2983.  
  2984.  
  2985.  
  2986.      DBS-KAT is fast because of the tools used in developing DBS-KAT (dis-
  2987.      cussed earlier) & because of its streamlined design.  For instance, if
  2988.      you have a diskette previously cataloged by DBS-KAT, when you change, add
  2989.      or delete a few files on the diskette, DBS-KAT concentrates on these mod-
  2990.      ifications.  A less efficient design might start out the processing of
  2991.      each diskette with the deletion of all prior database information for
  2992.      that diskette.  Because of DBS-KAT's usage of the sophisticated DB-VISTA
  2993.      database manager, it is able to immediately access prior information for
  2994.      the at-hand diskette in the correct processing order in which it needs
  2995.      it.  Finally, DBS-KAT is fast because it allows the user to use a RAM
  2996.      disk emulator to store the subprograms & work files for DBS-KAT on the
  2997.      RAM disk.
  2998.  
  2999.      DBS-KAT is also fast because it is smart.  If you mistakenly insert a
  3000.      diskette which hasn't changed since it was last processed by DBS-KAT, you
  3001.      are told this is the case.  DBS-KAT keeps for each diskette both a
  3002.      numeric total of the number of files on the diskette plus the sum of all
  3003.      dates + all times + all file sizes of all the files on the diskette.
  3004.      Before DBS-KAT considers updating directory entries for a diskette, it
  3005.      compares these two new totals with the prior run's old totals.
  3006.  
  3007.  
  3008.           DBS-KAT TECH REF MANUAL      Copyright 1986 R.H. Martin      P. 5
  3009.  
  3010.  
  3011.                          DBS-KAT INQUIRY SEARCH STRATEGIES
  3012.  
  3013.      To understand the many ways you can search your DBS-KAT database & how
  3014.      efficient will be your search, you need to know how your DBS-KAT database
  3015.      is structured.  For searching purposes, you can think of the database
  3016.      being ordered in two different ways:
  3017.  
  3018.      (a) by alphabetical, indexed, order by FILENAME.EXT, regardless of the
  3019.          volume ID; &
  3020.      (b) by numeric, indexed, order by volume ID, & within volume ID order,
  3021.          subordered alphabetically, by FILENAME.EXT.
  3022.  
  3023.      The path information is carried in the database, but it has no ordering
  3024.      effect in terms of aiding retrieval of information.
  3025.  
  3026.      Based upon the structure of DBS-KAT's database design, the following
  3027.      examples represent a range of searchs ordered by a most efficient search
  3028.      argument to a least efficient search argument:
  3029.  
  3030.          FILENAME ARGUMENT TYPE   EXT ARGUMENT TYPE   PATH/NOTE ARG TYPE
  3031.          --------          -      ---          -      --------      -
  3032.          MYFILE            E      DOC          E      MYPATH        E
  3033.          MYFILE            E      DOC          E      MY            A
  3034.          MYFILE            E      DOC          E      AT            U
  3035.          MYFILE            E      D            A      <left blank>
  3036.          MYFILE            E      O            U      <left blank>
  3037.          MYFILE            E      <left blank>        <left blank>
  3038.          MY                A      DOC          E      MYPATH        E
  3039.          MY                A      DOC          E      MY            A
  3040.          MY                A      DOC          E      AT            U
  3041.          MY                A      D            A      <left blank>
  3042.          MY                A      O            U      <left blank>
  3043.          MY                A      <left blank>        <left blank>
  3044.          FIL               U      DOC          E      MYPATH        E
  3045.          FIL               U      DOC          E      MY            A
  3046.          FIL               U      DOC          E      AT            U
  3047.          FIL               U      D            A      <left blank>
  3048.          FIL               U      O            U      <left blank>
  3049.        * FIL               U      <left blank>        <left blank>
  3050.       ** <left blank>             DOC          E      MYPATH        E
  3051.          <left blank>             DOC          E      MY            A
  3052.          <left blank>             DOC          E      AT            U
  3053.          <left blank>             D            A      <left blank>
  3054.          <left blank>             O            U      <left blank>
  3055.          <left blank>             <left blank>        MYPATH        E
  3056.          <left blank>             <left blank>        MY            A
  3057.          <left blank>             <left blank>        AT            U
  3058.  
  3059.      Don't be afraid to use the search strategy you need to accomplish the job
  3060.      you want done.  For instance, against a database of 12,000 directory
  3061.      entries, to search using an argument like the above line with an asterick
  3062.      preceeding it, took around two & a half minutes.  This search argument
  3063.           DBS-KAT TECH REF MANUAL      Copyright 1986 R.H. Martin      P. 6
  3064.  
  3065.  
  3066.      causes the entire database keyfile to be scanned from start to end.  The
  3067.      last three searches are the most disk intensive types of searches, as
  3068.      they cause the entire database keyfile and datafiles to be scanned from
  3069.      start to end.
  3070.  
  3071.      Search strategies beginning with the double astericked line are sig-
  3072.      nificantly slower than those above it.  These search strategies involve
  3073.      intensive disk accessing.  That is because both the key and data record
  3074.      must be read from disk for every database record in order to be con-
  3075.      sidered for retrieval.  For search strategies before the double-
  3076.      astericked line, the data record was hardly ever accessed if at all.
  3077.  
  3078.  
  3079.           DBS-KAT TECH REF MANUAL      Copyright 1986 R.H. Martin      P. 7
  3080.  
  3081.  
  3082.                              RECOVERING YOUR DATABASE
  3083.  
  3084.      "Into each life a little rain must fall."  It can happen to one's
  3085.      database too.  Recovery should be done when you loose your hard disk or
  3086.      when something has damaged your database.  In either case, the database
  3087.      recovery procedure is the same.  True, you have to restore everything
  3088.      else in a hard disk failure, but you're on your own to figure that
  3089.      dilemna out.  Just the database recovery procedure is documented here.
  3090.      Follow these procedures.
  3091.  
  3092.      #   ACTION  EVENT OR COMMAND                      COMMENT
  3093.      --  ------  ----------------------------------    -----------------------
  3094.      1   Type    C:                                    Move to your hard disk.
  3095.  
  3096.      2   Type    CD \                                  Move to the root
  3097.                                                        directory.
  3098.  
  3099.      3   Type    VERIFY ON                             Ensure better file
  3100.                                                        copies.
  3101.  
  3102.      4   Type    COPY KATDB.LOG KATDB.FIX              Save current log file.
  3103.  
  3104.      5   Type    KATLOG                                Print your current log
  3105.                                                        file.
  3106.  
  3107.      6   Find    Latest DBS-KAT database backup disks  Insert disk 1 into
  3108.                                                        drive.
  3109.  
  3110.      7   Type    RESTORE A: C:KATDB.*                  Restore old DBS-KAT
  3111.                                                        database.
  3112.  
  3113.      8   Do      DBS-KAT Integrity Analysis if not     If integrity fails go
  3114.                  using a "VERIFIED" backup set.        back to step 5.
  3115.  
  3116.      9   Read    KATLOG printout for line # of B/U state which you're restored
  3117.                  to.  Call this number "RESTORE-LINENUM".
  3118.  
  3119.      10  Read    KATLOG printout for last line # of printout.  Call this
  3120.                  number "LAST-LINENUM".
  3121.  
  3122.      11  Calc    Write down what LAST-LINENUM minus RESTORE-LINENUM equals.
  3123.                  Call this number STRIP-LINENUM.
  3124.  
  3125.      12  Type    KATSTRIP STRIP-LINENUM                Substitute real number.
  3126.                                                        KATDB.FIX now contains
  3127.                                                        an unsorted list of
  3128.                                                        disks to reprocess.
  3129.  
  3130.      13  Type    SORT <KATDB.FIX >PRN                  This printout is sorted
  3131.                                                        by yet-to-redo volume
  3132.                                                        ID within location.
  3133.  
  3134.           DBS-KAT TECH REF MANUAL      Copyright 1986 R.H. Martin      P. 8
  3135.  
  3136.  
  3137.      14  DO      KAT -U or some variation              Reprocess listed dis-
  3138.                                                        kettes.
  3139.  
  3140.      15  Type    DEL KATDB.FIX                         No longer needed.
  3141.  
  3142.      You're done!  Consider doing a DBS-KAT Integrity Analysis & Backup to
  3143.      preserve the recovery work you just went through.
  3144.  
  3145.  
  3146.           DBS-KAT TECH REF MANUAL      Copyright 1986 R.H. Martin      P. 9
  3147.  
  3148.  
  3149.                     UPGRADING A PC-KAT/PRE-2.0 DBS-KAT DATABASE
  3150.  
  3151.      Raima Corporation, the developer of DB_VISTA, which is the database
  3152.      manager used by DBS-KAT, found some rare occurring problems with 2.10 of
  3153.      DB-VISTA, which was used for PC-KAT and pre-2.0 versions of DBS-KAT.  DB-
  3154.      VISTA release 2.11 and 2.21 was released to fix rare occurring problems.
  3155.      These problems were so rare under 2.10, that I never noticed anything
  3156.      amiss except once after processing 18,000 filenames and nearly 900 dis-
  3157.      kettes.  I never noticed anything wrong with DB_VISTA 2.11.  DBS-KAT
  3158.      releases as of 2.0 use DB_VISTA 2.11.  DBS-KAT releases as of 2.20 use
  3159.      DB_VISTA 2.21.
  3160.  
  3161.      Aside from updated programs, there is not database update requirement
  3162.      going from DBS-KAT 2.0 through 2.10 up to DBS-KAT 2.20.  For pre-2.0 DBS-
  3163.      KAT databases, there are two ways to upgrade your existing database:
  3164.  
  3165.         1.  Send $6.50 US (foreign users add $10 US) to Applied Foresight,
  3166.             Inc. for a diskette with a DB_VISTA database rebuild program and a
  3167.             DB_VISTA database consistency checkout program, along with
  3168.             instructions on how to use them.  This approach costs money but
  3169.             involves no manual re-entry of database information.  Use the
  3170.             KAT -O option to printout an order form to place your order.
  3171.  
  3172.             OR ELSE
  3173.  
  3174.         2.  Build up from scratch a brand new, post-release DBS-KAT 2.X
  3175.             database.  To do this, follow the steps below.  If you have less
  3176.             than 100 diskettes, you'll find that this isn't all that bad of a
  3177.             task and it will save you the money to pursue option 1.  Option 1
  3178.             however will provide you with a database rebuild program
  3179.             (KEYBUILD) and consistency checkout program (DBCHECK) which is
  3180.             fast and thorough, as they were written by the developers of
  3181.             DB_VISTA.  With these programs, you can forever more bypass the
  3182.             DBS-KAT specific integrity analysis procedure, which is not as
  3183.             thorough as DB_VISTA's DBCHECK program.  Raima corporation has
  3184.             authorized Applied Foresight Inc. to offer these programs to its
  3185.             customers.
  3186.  
  3187.      To perform step 2, you need to perform the following steps:
  3188.  
  3189.  
  3190.      #   ACTION  EVENT OR COMMAND                      COMMENT
  3191.      --  ------  ----------------------------------    -----------------------
  3192.      1   Type    C:                                    Move to your hard disk.
  3193.  
  3194.      2   Type    CD \                                  Move to the root
  3195.                                                        directory if DBS-KAT
  3196.                                                        was installed there,
  3197.                                                        else move to the
  3198.                                                        directory where DBS-KAT
  3199.                                                        resides.
  3200.  
  3201.           DBS-KAT TECH REF MANUAL      Copyright 1986 R.H. Martin      P. 10
  3202.  
  3203.  
  3204.      3   Type    VERIFY ON                             Ensure better file
  3205.                                                        copies.
  3206.  
  3207.      4   Type    KATLOOK -M                            Look at your existing
  3208.                                                        System Control Record
  3209.                                                        setup information and
  3210.                                                        using the PrtSc key,
  3211.                                                        record how it is
  3212.                                                        already setup.
  3213.  
  3214.      5   Type    KATLOOK                               Print out a list of
  3215.                                                        the cataloged volumes
  3216.                                                        that you already have,
  3217.                                                        along with their des-
  3218.                                                        cription.
  3219.  
  3220.      6   Choose option 4 & have it go to P(rinter)     To get a "Listing of
  3221.                                                        cataloged diskette
  3222.                                                        volumes" of your pre-
  3223.                                                        2.0 DBS-KAT database.
  3224.  
  3225.      7   DO      Delete all old DBS-KAT or PC-KAT files off your hard disk.
  3226.                  (Do not undo nor delete whatever is in CONFIG.SYS or your
  3227.                  AUTOEXEC.BAT files; nor should you delete whatever DOS pro-
  3228.                  grams were needed to work with your old DBS-KAT.)
  3229.  
  3230.                                                        For example, in the
  3231.                                                        directory where you
  3232.                                                        previously installed
  3233.                                                        DBS-KAT, type:
  3234.                                                        DEL KAT*.*
  3235.  
  3236.      8   Insert DBS-KAT 2.X diskette in drive A:.
  3237.  
  3238.      9   Follow DBS-KAT 2.X manual instructions to install DBS-KAT.
  3239.  
  3240.      10  Type:   KATLOOK -M                            Update your System
  3241.                                                        Control Record similar
  3242.                                                        to your old one, as
  3243.                                                        given by the Print
  3244.                                                        Screen done above under
  3245.                                                        step 4.
  3246.  
  3247.      11  Type:   KAT -U                                Process every diskette
  3248.                                                        listed under step 6
  3249.                                                        above.  Update the
  3250.                                                        volume header database
  3251.                                                        record for each dis-
  3252.                                                        kette with the printout
  3253.                                                        information.
  3254.  
  3255.      12  You're done!  Consider backing up this database now.  Back up the
  3256.          database from inside KAT -U program with the "B" option.
  3257.           DBS-KAT TECH REF MANUAL      Copyright 1986 R.H. Martin      P. 11
  3258.  
  3259.  
  3260.  
  3261.  
  3262.  
  3263.                               DBS-KAT VERSION HISTORY
  3264.  
  3265.      REL.  CATEGORY CHG.  WHEN  COMMENT-------------------------------------
  3266.  
  3267.      1.0   BETA RELEASE   6/85  Not released to general public.
  3268.      1.1   BETA UPDATE    6/85  " ".
  3269.      1.2   PUBLIC REL.    1/86  First public release under PC-KAT name.
  3270.      1.2A  RARE BUG FIX   1/86  If diskette had multiple directories on it,
  3271.                                 1.2 occassionally would abort.
  3272.      1.2B  RARE BUG FIX   1/86  Improvement upon 1.2A fix; changing all
  3273.                                 copyright statements to 1986 year.
  3274.      1.2C  COSMETIC FIX   2/86  KATLOOK handled printer formfeed wrong when
  3275.                                 doing multi-page volume header subselection
  3276.                                 retrieval; added version history notes;
  3277.                                 shortened novice install instructions.
  3278.      1.3   NAME CHANGE    2/86  Product renamed DBS-KAT.
  3279.      1.3A  NAME CHANGE &  3/86  DB-SHARE concept renamed DB-SHAREWARE &
  3280.            UPD.ENHANCE.         Improved support for cataloging remove-
  3281.                                 able disk cartridges.
  3282.      1.3B  UPD.ENHANCE.   4/86  Support cataloging non-std disk labels.
  3283.      1.4   INQ.ENHANCE.   5/86  Support inquiry against ext.path/note field.
  3284.      1.4A  COSMETIC CHG   5/86  If DB not in root but present, don't CD \.
  3285.      2.0   DB_VISTA UPD & 7/86  Update from 2.1 to 2.11 DB_VISTA.  Added new
  3286.            ADDED KATSCAN        programs, KATASK & KATSCAN, & updated KPRINT.
  3287.      2.01  SRCH BY SUBDIR 2/87  Allow KATLOOK to search by user providing
  3288.                                 subdirectory name if cataloged file resides
  3289.                                 in a subdirectory.
  3290.      2.02  COSMETIC FIX   4/87  Recognize IAMNOTAN.IBM in curr. or \ dir.
  3291.      2.10  SEVERAL CHGS   7/87  Converted from Lattice C, Ver. 2.15 to 3.10;
  3292.                                 DOS 3.X required now; Reads vol. label
  3293.                                 directory directly, so European DOS users
  3294.                                 should be supported now; Support installation
  3295.                                 of DBS-KAT in \DBSKAT subdirectory; & returns
  3296.                                 user to original subdirectory when done.
  3297.      2.20  DBMS/C UPDATE  1/89  Update to Lattice 3.21 & DB_Vista 2.21; does
  3298.                                 not affect database structure; should reduce
  3299.                                 occurrences of database corruption.  Also 2
  3300.                                 new capabilities added to option 3 of KATLOOK.
  3301.                                 DBS-KATr DATABASE INTEGRITY
  3302.  
  3303.                            by Applied Foresight, Inc.
  3304.                                  P.O. Box 20607
  3305.                             Bloomington, Minn.  55420
  3306.                          (C) Copyright 1986 R.H. Martin.
  3307.                         All Rights Reserved.  TM pending
  3308.  
  3309.                                  January 6, 1989
  3310.  
  3311.      To DBS-KAT users:
  3312.  
  3313.      Several user letters have conveyed an interest in or concern about the
  3314.      integrity of their DBS-KAT database.  The database manager used by DBS-
  3315.      KAT is DB_VISTAtm by RAIMA Corporation, Bellevue, Washington.  It is a
  3316.      very solid database manager and the current release used by Applied
  3317.      Foresight is 2.21.  There are no known bugs with this release.  Under
  3318.      very rare circumstances, a prior version (2.11 used in DBS-KAT 2.0
  3319.      through 2.10), could theoretically cause a problem.  No known problems
  3320.      with DBS-KAT users were ever known to occur however.
  3321.  
  3322.      Something to be aware of, however, is a documentation shortcoming in
  3323.      older DBS-KAT's manuals.  One should not run the DBS-KAT integrity
  3324.      check routine in the KATLOOK or KAT -D (two ways to accomplish the
  3325.      same thing), without first cataloging a diskette (or removeable
  3326.      cartridge).  Performing this routine on an uncataloged database
  3327.      results in the message: "db_VISTA database error -19 - record not
  3328.      legal member of set.  d_setmr failed in c_dirline for CTRL01.  DB
  3329.      status = -19."  The database is okay.  It just needs at least one
  3330.      volume cataloged first.
  3331.  
  3332.      [Note: if one get this message after cataloging one volume, check if
  3333.      the database was installed in two places on the computer (eg, in \ and
  3334.      \KAT).  Perhaps the cataloged volume was added to the database in one
  3335.      directory and the analysis was done on the database in the other
  3336.      directory.  With the current release of DBS-KAT, the author has not
  3337.      been able to generate the -19 error message except on a database with
  3338.      no cataloged volumes.]
  3339.  
  3340.      There was a rare occurring bug in versions prior to 2.11 of DB-VISTA
  3341.      and users of DBS-KAT before release 2.0 are advised to follow the
  3342.      advise given in the release 2.0 DBS-KAT Technical Manual.  (It is okay
  3343.      to update from a pre-2.0 version to 2.20 and bypass 2.10 of DBS-KAT.)
  3344.      If you used DBS-KAT prior to release 2.0, did you follow those
  3345.      instructions explicitly?  This document stated that you were basically
  3346.      given two routes to go to update your database: (1) purchase for $6.50
  3347.      the DB_VISTA database utilities (DBCHECK and KEYBUILD) and follow
  3348.      Applied Foresight's instructions for upgrading to 2.0 (or greater of)
  3349.      DBS-KAT or (2) install release 2.0 (or greater of) of DBS-KAT and
  3350.      rebuild from scratch a new DBS-KAT data base.  Use the DBS-KAT order                                                    Use the DBS-KAT order                                                    _____________________
  3351.      form (type: KAT -O to print it out) to order these two utility     form (type: KAT -O to print it out) to order these two utility     ______________________________________________________________
  3352.      programs.   Note: DBS-KAT registration entitles one to the database     programs.   Note: DBS-KAT registration entitles one to the database     ___________________________________________________________________
  3353.      utilities diskette.     utilities diskette.     ___________________
  3354.  
  3355.      The DBS-KAT database is made up of four components:
  3356.  
  3357.      1.  The DBS-KAT database dictionary file, KATDB.DBD.  It never changes
  3358.          and can be rebuilt by going back to the original file from your
  3359.          original (latest version) DBS-KAT diskette.
  3360.  
  3361.                     DBS-KAT DATABASE INTEGRITY - Page 2                    
  3362.  
  3363.      2.  The DBS-KAT database key files, KATDB.KE? files.  They can be
  3364.          rebuilt by running the KEYBUILD utility program (see below).
  3365.          There are four DBS-KAT key files: (a) one for each diskette volume
  3366.          ID, (b) one for each diskette filename entry, (c) one for each
  3367.          diskette-contained subdirectory name, and (d) one for the numeric
  3368.          ID DBS-KAT assigns for each diskette-contained subdirectory name.
  3369.  
  3370.      3.  The DBS-KAT set pointers, which are contained alongside each data
  3371.          record.  The only DBS-KAT set is the diskette volume set, which
  3372.          has a parent record for each diskette cataloged and a zero-to-many
  3373.          number of child records for each parent record representing the
  3374.          number of filenames associated with that diskette.
  3375.  
  3376.          The set pointers for each child record are: (a) pointer to parent
  3377.          record, (b) pointer to prior sibling record, (c) pointer to next
  3378.          sibling record.  The set pointers for each parent record are: (d)
  3379.          total number of children (not really a pointer), (e) pointer to
  3380.          first child (lowest alphabetical diskette filename), and (f)
  3381.          pointer to last child (highest alphabetical diskette filename).
  3382.  
  3383.      4.  The DBS-KAT end-user data, which is kept in the database in the
  3384.          form of data records.  Alongside each database record, however,
  3385.          are set pointers (discussed previously).
  3386.  
  3387.      The built-in integrity checking of DBS-KAT's base system diskette only
  3388.      works the DBS-KAT keyfiles and the first type (a) set pointer.  The
  3389.      majority of database damage will cause this built-in checking to spot
  3390.      it.  Very rarely will a damaged database pass this built-in integrity
  3391.      checking for rarely is database damage solely limited to damaged set
  3392.      pointers, type (b) through (f).  However, if the only database damage
  3393.      is missing entries in the DBS-KAT keyfile (b), the built-integrity
  3394.      checking of DBS-KAT will not detect this damage.
  3395.  
  3396.      Because very rare database damage can slip by the built-in integrity
  3397.      checking provided by the base system diskette of DBS-KAT, Applied
  3398.      Foresight Inc. provides the optional database utility diskette.
  3399.      Applied Foresight believes all users should get this diskette and is
  3400.      therefore making it available for only a small handling and mailing
  3401.      cost.  The utility software is not ShareWare and is discussed in more
  3402.      detail below.
  3403.  
  3404.      Database damage can occur when:
  3405.  
  3406.      a. A user operates his computer under abnormal power conditions
  3407.         (undervoltages/overvoltages occurring).  Tripp-Lite Manufacturing
  3408.         out of Chicago makes an affordable voltage regulator for $219
  3409.         (retail), called the LC-1200.
  3410.  
  3411.      b. A user operates his computer under abnormal high static
  3412.         electricity.  Buy just about any type of static electricity
  3413.         preventive device.
  3414.  
  3415.      c. Badly-behaving background memory programs are causing damage (none
  3416.         yet known to Applied Foresight's knowledge).
  3417.  
  3418.      d. The User's file directory is corrupt.  (Run the DOS program, CHKDSK
  3419.         /F to see if your directory is corrupt.  If it is, answer "Y" to
  3420.         the prompt.  Rerun afterwards if an error is detected to see if the
  3421.                     DBS-KAT DATABASE INTEGRITY - Page 3                    
  3422.  
  3423.         /F (fix) option cleaned it up.)
  3424.  
  3425.      e. The database ends up sitting on a bad part of a user's disk drive.
  3426.         Norton's program, DISKTEST (or DT) may remedy this problem, as long
  3427.         as the bad file detected isn't a DBS-KAT database file.
  3428.  
  3429.      f. The user intentionally or unintentionally aborts out of an update
  3430.         function of DBS-KAT, and a user does not do the prescribed DBS-KAT
  3431.         recovery, as documented in the base system DBS-KAT Technical
  3432.         Reference manual.
  3433.  
  3434.         For example, the user midway through an update of a diskette
  3435.         discovers he has used the wrong volume number and presses CTRL-C or
  3436.         CTRL-BREAK.  This can cause a corrupted database.  Only exit the
  3437.         DBS-KAT update routines in a normal manner.
  3438.  
  3439.      g. The user is using a computer which has an unsynchronized operating
  3440.         system.  That is, COMMAND.COM, IBMBIO.COM (IO.SYS on some clones),
  3441.         IBMDOS.COM (MSDOS.SYS on some clones), do not all belong to the
  3442.         same operating system.  This situation develops when a user updates
  3443.         to a newer operating system by only using the DOS copy command.  To
  3444.         see if your system is in synch, do the following:
  3445.  
  3446.         At the root directory of the drive you boot up on, type:
  3447.         KATSCAN  *.*  and press ENTER.  As soon as the first three file
  3448.         entries appear, press the CTRL-BREAK key to abort the display.  The
  3449.         first two filenames should have "SYS" appearing in the far right
  3450.         hand column of the KATSCAN display.  The third filename should be
  3451.         COMMAND.COM.  Do a SHIFT-PRTSC print-screen of this display.
  3452.         Repeat this procedure on your original DOS diskette.  Compare the
  3453.         filesizes and dates to make sure everything compares ok.
  3454.  
  3455.         If the operating system is not in synch, perform the following
  3456.         steps to take the absolute safest steps to clean up your system.
  3457.         If you don't know how to do the below, consult either your computer
  3458.         manuals for more detailed instructions or a local computer dealer
  3459.         to help you do this.
  3460.  
  3461.         1)  Type:  KATSCAN and press ENTER.
  3462.  
  3463.             Use "*.*" as the file set to scan and "P" for the redirection
  3464.             option.  This will print out how your fixed disk is setup.
  3465.             Consult the KATSCAN operation documentation for more
  3466.             information.
  3467.  
  3468.         2)  Delete all old DOS programs from your disk drive.  Use the DIR
  3469.             command against your DOS diskette to figure out what the
  3470.             filenames are.
  3471.  
  3472.         3)  Restart your computer using the DOS diskette that you want to
  3473.             upgrade or reinstall with.  Make sure it has the write-enable
  3474.             notch taped over.  Type:  BACKUP  C:\*.*  A:/S  and press
  3475.             ENTER.  This will backup all non-DOS files on drive C:.
  3476.  
  3477.             Note: When prompted, remove DOS diskette and insert first
  3478.             formatted diskette which you will use to backup your computer.
  3479.  
  3480.         4)  Type:  FDISK  and press ENTER and choose the option to Remove
  3481.                     DBS-KAT DATABASE INTEGRITY - Page 4                    
  3482.  
  3483.             your DOS partition.
  3484.  
  3485.             Some manuals will tell you that all you have to do is use SYS:
  3486.             and COPY commands to update your operating system.  This isn't
  3487.             always true, depending on the version of DOS and the brand.  I
  3488.             have upgraded hundreds of computers and the method given here
  3489.             is the safest.
  3490.  
  3491.         5)  Turn off your computer, wait 1 minute.  Put your new DOS
  3492.             diskette in drive A: and turn computer back on.
  3493.  
  3494.         6)  Type:  FDISK  and press ENTER and choose the option to Install
  3495.             DOS partition.  Use the entire drive.
  3496.  
  3497.         7)  Type:  FORMAT  C:/S  and press ENTER to format your hard disk
  3498.             as a bootable device.
  3499.  
  3500.         8)  Type:  MD \DOS  and press ENTER to create a directory to hold
  3501.             your DOS programs.
  3502.  
  3503.         9)  Type:  COPY  A:*.*  C:\DOS /V  and press ENTER to install all
  3504.             your original DOS programs to the \DOS directory.
  3505.  
  3506.             Afterwards, type:  DEL C:\DOS\COMMAND.COM and press ENTER, to
  3507.             avoid duplicates.
  3508.  
  3509.         10) Insert diskette 1 of your backup set in drive A:.
  3510.  
  3511.             Type:  CD  \DOS  and press ENTER.
  3512.  
  3513.             Type:  RESTORE  A:  C:\*.* /S/P  and press ENTER.
  3514.  
  3515.             This will restore everthing that isn't already on the new setup
  3516.             drive C:.  When prompted if you want to overwrite a file,
  3517.             answer "N".
  3518.  
  3519.         11) Very important: verify that your CONFIG.SYS file has a line,
  3520.             FILES=20, in it.  Type:  TYPE  C:\CONFIG.SYS  and press ENTER.
  3521.  
  3522.             If it doesn't, reread DBS-KAT install instructions pertaining
  3523.             to CONFIG.SYS and AUTOEXEC.BAT.
  3524.  
  3525.             Note: Refer back to the DBS-KAT install instructions for Novice
  3526.             Users to make sure that your reinstalled \AUTOEXEC.BAT file
  3527.             complies with your new environment (ie, your old DOS files
  3528.             might not have been in a directory called \DOS).
  3529.  
  3530.             When you've verified that CONFIG.SYS is setup okay, remove all
  3531.             diskettes from drive A: and restart your computer.  DO NOT SKIP
  3532.             THIS RESTART!
  3533.  
  3534.      h. The software which updates the database has a serious bug which can
  3535.         cause database integrity to be lost.  HOWEVER, to the best of
  3536.         Applied Foresight's knowledge, there are no bugs in DBS-KAT
  3537.         software which can cause this type of damage, AND to the best of
  3538.         RAIMA Corporation's knowledge, there are no bugs in DB_VISTA 2.11
  3539.         software which can cause database damage.
  3540.  
  3541.                     DBS-KAT DATABASE INTEGRITY - Page 5                    
  3542.  
  3543.      i. The DBS-KAT software program has become corrupted because of a poor
  3544.         file copy, bad disk drive, or corrupted file directory.  Compare
  3545.         the DBS-KAT software on your fixed disk with your original DBS-KAT
  3546.         software diskette, using the DOS command COMP.  Since DBS-KAT uses
  3547.         compressed programs, you would have to save your existing DBS-KAT
  3548.         programs (using the DOS COPY command) to a blank diskette, and
  3549.         reinstall the DBS-KAT programs (only the programs!).  Afterwards,
  3550.         you'd type:  COMP KAT*.EXE  A: and press ENTER to compare the DBS-
  3551.         KAT programs on your fixed disk with those earlier copied to
  3552.         diskette prior to the reinstall.
  3553.  
  3554.  
  3555.                     THE DBS-KAT(TM) DATABASE UTILITY PROGRAMS
  3556.  
  3557.     Use of the DBS-KAT utility diskette programs are provided under written
  3558.     license to Applied Foresight, Inc., by RAIMA Corporation. These
  3559.     programs, KEYBUILD and DBCHECK are not ShareWare programs and you are
  3560.     not authorized to distribute these programs to other persons.  The
  3561.     written license allows Applied Foresight to distribute these diskettes
  3562.     to DBS-KAT owners who arrange with Applied Foresight, Inc., to receive
  3563.     them.  Support for these two programs for DBS-KAT users is only through
  3564.     Applied Foresight, Inc.  Do NOT CONTACT RAIMA Corporation for support.
  3565.     RAIMA Corporation only provides support for those customers who have
  3566.     PURCHASED a RAIMA product.
  3567.  
  3568.     Instructions for running these programs are supplied when one purchases
  3569.     the utility diskette from Applied Foresight.
  3570.  
  3571.  
  3572.                         DATABASE CONSISTENCY CHECK UTILITY
  3573.  
  3574.     The DBCHECK database utility will perform the following consistency
  3575.     checks:
  3576.  
  3577.     For each data file (KATDB.DA*):
  3578.  
  3579.     - Validate each record's record id number and database address. This
  3580.       will ensure that no garbage data or bad records have been written to
  3581.       a data file.
  3582.  
  3583.     - For each key field contained in each record, verify that the key does
  3584.       indeed exist.
  3585.  
  3586.       For each key file (KATDB.KE*):
  3587.  
  3588.       - Verify the number of slots used in each node. This will also check
  3589.         for garbage data.
  3590.  
  3591.       - Read the record associated with each key and verify that the
  3592.         contents of the key data field matches that stored on the key file.
  3593.  
  3594.     All database consistency errors are printed to "stdout" and give the
  3595.     location of the offending key or record.
  3596.  
  3597.  
  3598.                              KEY FILE BUILD UTILITY
  3599.  
  3600.     The utility KEYBUILD will rebuild all key files for the DBS-KAT
  3601.                     DBS-KAT DATABASE INTEGRITY - Page 6                    
  3602.  
  3603.     database.  It rebuilds the key files by first initializing each key
  3604.     file and then scanning each record in each data file and reinserting
  3605.     all keys in the record.
  3606.  
  3607.     This utility can be used to recreate the key files when there's a
  3608.     database inconsistency (e.g. as reported by DBCHECK).
  3609.  
  3610.  
  3611.                                      SUMMARY
  3612.  
  3613.     The cautious user will purchase the DBS-KAT database integrity utility
  3614.     diskette and use the DBCHECK program 1-2 times a month to monitor the
  3615.     integrity of his database.
  3616.  
  3617.     If you discover with DBCHECK that you have a physically corrupt
  3618.     database, perform the following steps:
  3619.  
  3620.        1.  Run KEYBUILD to rebuild your database key files.
  3621.  
  3622.        2.  Run DBCHECK to see if the rebuilt database is clean.  If it is,
  3623.            your recovery is finished.  Backup this database and keep it
  3624.            around for awhile for safety sake.  Attempt to ask yourself what
  3625.            might have caused the damage and learn from your analysis.
  3626.  
  3627.        3.  Continue if your database is still damaged.
  3628.  
  3629.        4.  Per the recovery instructions in the base system DBS-KAT
  3630.            Technical Reference manual, restore to your last good DBS-KAT
  3631.            database backup.  (This includes getting a printout of your
  3632.            KATDB.LOG files of what diskettes have been processed since your
  3633.            last backup.)  Run DBCHECK to see if the recovered database is
  3634.            clean.  If it is, reprocess the diskettes entered since your
  3635.            last backup and then your recovery is finished.  If your
  3636.            recovered database is damaged, then go to step 1 now.
  3637.  
  3638.         5. If you can't restore to a prior DBS-KAT database which is good,
  3639.            you'll have to reinstall DBS-KAT from scratch and rebuild your
  3640.            DBS-KAT database from scratch.
  3641.  
  3642.                KATSCAN: The Hard Disk Archive Utility of DBS-KAT (R)
  3643.  
  3644.                             by Applied Foresight, Inc.
  3645.                                   P.O. Box 20607
  3646.                             Bloomington, Minn.  55420
  3647.                          (C) Copyright 1986 R.H. Martin.
  3648.                                All Rights Reserved.
  3649.  
  3650.      KATSCAN is a dual purpose utility program:
  3651.  
  3652.      * It is a stand-alone program for hard disk archiving which makes it
  3653.        easy for hard disk owners to manage & locate the files on their
  3654.        hard disk.
  3655.  
  3656.      * It has an undocumented function to support the cataloging functions
  3657.        of DBS-KAT, & for this purpose, it needs to be installed along
  3658.        with the other DBS-KAT software.
  3659.  
  3660.      KATSCAN can be prematurely aborted by pressing the ESC key.  If that
  3661.      doesn't work, then try pressing the BREAK key while holding down the
  3662.      CTRL key.
  3663.  
  3664.      KATSCAN is for 320 KB RAM computers which have a hard disk & PC-DOS
  3665.      or MS-DOS 2.00 or greater.
  3666.  
  3667.  
  3668.                            STAND-ALONE KATSCAN FEATURES
  3669.  
  3670.      KATSCAN can be ran identical to the DOS "DIR [file-search-string]"
  3671.      function.  When so ran, it will:
  3672.  
  3673.      * list all selected files & in what directories they exist on the
  3674.        default hard disk.
  3675.  
  3676.        Note: KATSCAN, if ran this way, can only search the default disk
  3677.        drive.
  3678.  
  3679.      * provide a fileset size subtotal per directory & per drive.
  3680.  
  3681.      KATSCAN can be ran without any command line options & the user will be
  3682.      prompted with a variety of options to choose from.  For each prompt,
  3683.      the user can take a shown default answer, or can type in an alternative
  3684.      answer.  User is:
  3685.  
  3686.      * Prompted for drive to search.
  3687.  
  3688.      * Prompted for a DOS "DIR [file-search-string].
  3689.  
  3690.      * Prompted if only files modified since last backup are to be selected.
  3691.  
  3692.        -> If "No" chosen, user is prompted if a date range is desired.
  3693.  
  3694.           - If the default ending date is not chosen, user is prompted if
  3695.             program files (.COM & .EXE) files are to be excluded.  Since
  3696.             program files are not updated by end-users, if one is looking
  3697.             for obsolete end-user made files, one will typically not want
  3698.             programs to be included in a file cleanup search.
  3699.  
  3700.      * Prompted if output is to go to a file, console or printer.
  3701.  
  3702.        KATSCAN                                                    P. 2
  3703.  
  3704.  
  3705.        -> If "File output" is chosen, user is:
  3706.  
  3707.           - Informed that an output DOS BATCH file, \KATCOPY.BAT, is made.
  3708.             When the program ends, if the user types: KATCOPY & presses
  3709.             ENTER, the files selected by the search will be copied to a
  3710.             specified target drive.
  3711.  
  3712.           - Prompted for the target drive letter; the number of KB that can
  3713.             fit on the target drive; & if only modified files are being
  3714.             searched, if the DOS BACKUP file attribute setting should be
  3715.             unmarked.
  3716.  
  3717.             + If the number chosen is 0, the target drive is assumed to
  3718.               have an unlimited KB size.
  3719.  
  3720.             + If the number chosen is greater than zero, when KATCOPY is
  3721.               ran, if it needs another diskette inserted, it will:
  3722.  
  3723.               o If desired, DBS-KAT will catalog the diskette (KAT -U1N
  3724.                 command).
  3725.  
  3726.               o Prompt user to insert another formatted diskette.
  3727.  
  3728.               o Pause until the user presses any key.  User should insert
  3729.                 new diskette before pressing any key.
  3730.  
  3731.               o Perform a DIR /W against the newly inserted diskette.
  3732.  
  3733.               o Prompt the user "If not okay to delete all the shown files,
  3734.                 either (1) answer "N" & continue with copying or (2) press
  3735.                 CTRL-BREAK & abort now."
  3736.  
  3737.                 This provides the user with a last chance to change his/her
  3738.                 mind before continuing.  If the user answers "N", the user
  3739.                 should have chosen an output number small enough that the
  3740.                 chosen files will have room to be added to the already
  3741.                 existing files on the target diskette (assuming there are
  3742.                 some).
  3743.  
  3744.               o Delete all the files in the current directory of the target
  3745.                 drive  (DEL *.*).  When given the prompt "Are you sure
  3746.                 (Y/N)?", the user can choose "Y" or "N" or CTRL-BREAK.
  3747.  
  3748.           - Prompted if one desires interactive authorization of each
  3749.             search-selected file.  If answer is "Yes":
  3750.  
  3751.             + As the search selects each file, it will display the drive,
  3752.               directory location, filename, date, time & filesize.
  3753.  
  3754.             + User is prompted for each displayed filename, "OK to setup for
  3755.               COPY?".  Chosen files won't be copied until the KATSCAN
  3756.               program ends, & the user types: KATCOPY & presses ENTER.
  3757.  
  3758.           - Prompted if one wants a delete-process batch file made of
  3759.             selected files.  If the answer is "Yes":
  3760.  
  3761.        KATSCAN                                                    P. 3
  3762.  
  3763.  
  3764.             + The created batch file name is \KATERASE.BAT.  After the
  3765.               KATSCAN program ends, the user can execute this delete-process
  3766.               by typing: KATERASE & pressing ENTER.
  3767.  
  3768.             + User is prompted if one desires interactive authorization
  3769.               of each search-selected file.  If answer is "Yes":
  3770.  
  3771.               o As the search selects each file, it will display the drive,
  3772.                 directory location, filename, date, time & filesize.
  3773.  
  3774.               o User is prompted for each displayed filename, "OK to setup
  3775.                 for DEL?".  Chosen files won't be deleted until the KATSCAN
  3776.                 program ends, & the user types: KATERASE & presses ENTER.
  3777.  
  3778.               o Answering "Yes" to both interactive authorization prompts
  3779.                 provides user with the opportunity of having a different
  3780.                 selection of files to copy than to delete.
  3781.  
  3782.             + At the end of the KATSCAN, the user is reminded that there is
  3783.               a KATCOPY batch command file to perform.
  3784.  
  3785.             + When the KATERASE process is actually executed, it will
  3786.               automatically delete itself when done.
  3787.  
  3788.           - Inform the user that the program will not select certain
  3789.             filenames.  These are:
  3790.  
  3791.             + Filenames which contain the phrase "KATDB.", except KATDB.LOG.
  3792.               These are the DBS-KAT database files which are usually large &
  3793.               are best backed up from within the DBS-KAT program itself, so
  3794.               that the DBS-KAT program, KAT, can keep track of database
  3795.               backups.
  3796.  
  3797.             + The KATSCAN created files, \KATCOPY.BAT, \KATERASE.BAT, and
  3798.               \KATBACK.BAT.
  3799.  
  3800.             + Selected files whose size are greater than the user indicated
  3801.               maximum KB size are not included in the \KATCOPY.BAT file.
  3802.  
  3803.               o They are instead included in a DOS batch command file which
  3804.                 can back these files up to the same target drive using the
  3805.                 DOS BACKUP command.
  3806.  
  3807.               o The created command file is called \KATBACK.BAT.
  3808.  
  3809.               o At the end of the KATSCAN, the user is reminded that there
  3810.                 is a KATBACK batch command file to perform.
  3811.  
  3812.           - Informs the user at the end of the KATSCAN, of how many
  3813.             formatted diskettes are needed to perform the KATCOPY process.
  3814.  
  3815.        -> If Console or Printer output is chosen:
  3816.  
  3817.           - Column headings will be printed once.  Headings are: Filename,
  3818.             Size, Date, Time, Since Last B/U.
  3819.  
  3820.        KATSCAN                                                    P. 4
  3821.  
  3822.  
  3823.             + The "Since Last B/U" column will be blank unless the
  3824.               corresponding file has been modified since the last DOS
  3825.               BACKUP.
  3826.  
  3827.             + Note, other backup programs may modify a DOS file attribute,
  3828.               such as FASTBACK.
  3829.  
  3830.             + Modified files will show the abbreviation "MOD" on the output
  3831.               display.
  3832.  
  3833.             + System files will show the abbreviation "SYS" on the output
  3834.               display.
  3835.  
  3836.           - Provide a fileset size subtotal per directory & per drive.
  3837.  
  3838.           - If console output is chosen, the user is displayed one screenful
  3839.             of output & the phrase "--More--".  The program pauses until
  3840.             any key is pressed, at which time another screenful will be
  3841.             displayed.
  3842.  
  3843.           - If printer output is chosen, a formfeed is done at the end of
  3844.             the display.
  3845.  
  3846.  
  3847.               EVERYTHING DESCRIBED HERE IS ON THE ENCLOSED DISKETTE.
  3848.                             THIS IS NOT DEMO SOFTWARE!
  3849.  
  3850.  
  3851. 
  3852.  
  3853.  
  3854.  
  3855.  
  3856.  
  3857.  
  3858.  
  3859.  
  3860.  
  3861.  
  3862.  
  3863.                              THE DB-SHAREWARE PROGRAM
  3864.  
  3865.  
  3866.  
  3867.                                         by
  3868.                                     R.H. Martin
  3869.  
  3870.  
  3871.  
  3872.                               Applied Foresight Inc.
  3873.                                   P.O. Box 20607
  3874.                              Bloomington, Minn.  55420
  3875.  
  3876.  
  3877.                                    Jan. 1, 1989
  3878.  
  3879.  
  3880.  
  3881.                            Copyright 1986 by R.H. Martin
  3882.                                 All Rights Reserved
  3883.  
  3884.  
  3885.  
  3886.  
  3887.  
  3888.  
  3889.  
  3890.  
  3891.  
  3892.  
  3893.  
  3894.  
  3895.  
  3896.  
  3897.  
  3898.                                                              Trademark Pending
  3899.  
  3900.  
  3901.  
  3902.  
  3903.  
  3904.  
  3905.  
  3906.  
  3907.           DB-SHAREWARE PROGRAM         Copyright 1986 R.H. Martin          P.
  3908.      2
  3909.  
  3910.  
  3911.                        ABOUT DB-SHAREWARE SOFTWARE PRODUCTS
  3912.                        ------------------------------------
  3913.  
  3914.                                      OVERVIEW
  3915.  
  3916.      DB-SHAREWARE is a new and un-trademarked designation referring to a
  3917.      modified SHAREWARE product where the programmer has developed software
  3918.      revolving around a network model database, using a compiled language-
  3919.      driven, run-time royalty-free and license-free database manager.
  3920.  
  3921.      The DB-SHAREWARE designation was originally entitled "DB-SHARE", however
  3922.      Applied Foresight Inc. became aware of an advertisement in the April 1986
  3923.      issue of DATA BASED ADVISOR that JCL Software has declared a trademark on
  3924.      a product, called "dBSHARE II".  This trademark is close enough to cause
  3925.      confusion and to avoid this, the "DB-SHARE" concept is being renamed "DB-
  3926.      SHAREWARE".   Although this makes the term similar to "SHAREWARE", since
  3927.      the "SHAREWARE" term is not trademarked and is meant to apply to any-
  3928.      body's offered software who follow the "SHAREWARE" concept, and the "DB-
  3929.      SHAREWARE" is a slight modification of this concept, the closeness is
  3930.      justified and there are no legal considerations to be concerned with.
  3931.  
  3932.      SHAREWARE is an untrademarked term used by Quicksoft (TM), the developer
  3933.      of PC-WRITE (TM).  Write Quicksoft, 219 First N. #224, Seattle, WA
  3934.      98109.  Bob Wallace, the developer of PC-WRITE, describes SHAREWARE in
  3935.      his manual as follows:
  3936.  
  3937.         "Shareware is our term for software that can be freely copied and
  3938.         shared.  The term (from an INFOWORLD column) describes both public
  3939.         domain (non-copyrighted) software, and copyrighted software, like PC-
  3940.         WRITE, which the author supports and encourages people to copy and
  3941.         share.
  3942.  
  3943.         "Shareware is like public television: the programming is freely dis-
  3944.         tributed, but support from users is encouraged.  The concept is based
  3945.         on these principles:
  3946.         1.  People need to try programs to see if they are useful.
  3947.         2.  Software authors can be supported directly by users.
  3948.         3.  Copying and networking of programs can be encouraged.
  3949.  
  3950.         "To quote Andrew Fluegelman: 'This is an experiment in economics more
  3951.         than altruism.  Free distribution of software and voluntary payment
  3952.         for its use would eliminate the need for money to be spent on market-
  3953.         ing, advertising, and copy protection schemes.  Users could obtain
  3954.         quality software at reduced cost, while still supporting program
  3955.         authors.'
  3956.  
  3957.         "Quicksoft takes the Shareware concept further by giving additional
  3958.         materials and services when someone registers, and giving a commission
  3959.         to people who distribute copies."
  3960.  
  3961.      Anyone is allowed to sell or give away wholly unmodified copies of the
  3962.      official Shareware-release diskette.  The "official" release is the one
  3963.           DB-SHAREWARE PROGRAM         Copyright 1986 R.H. Martin          P.
  3964.      3
  3965.  
  3966.  
  3967.      released by the software author.  Shareware does not allow distribution
  3968.      of any modified software copies, nor source files, nor printed copies of
  3969.      the manual, without permission of the Shareware author.
  3970.  
  3971.  
  3972.                                      FEATURES
  3973.  
  3974.      DB-SHAREWARE differs slightly from the Shareware program.  The main fea-
  3975.      tures of a DB-SHAREWARE software product are:
  3976.  
  3977.      1.  The software package revolves around a network model database, using
  3978.          a compiled programming language-driven, run-time royalty-free and
  3979.          license-free database manager.  So far, only DB-VISTA by RAIMA Corpo-
  3980.          ration seems to fit this requirement.  DB-VISTA is sold by RAIMA Cor-
  3981.          poration, 12201 SE Tenth St., Bellevue, WA 98005.  RAIMA Corporation
  3982.          is NOT connected with Applied Foresight nor the DB-SHAREWARE program.
  3983.  
  3984.          One could justifiably include in the DB-SHAREWARE category, otherwise
  3985.          qualified software but instead of being a compiled programming lan-
  3986.          guage driven, run-time royalty-free database manager, alternative
  3987.          software using such royalty free database products as the CLIPPER and
  3988.          WORDTECH dBASE III royalty-free compilers.  Likewise, substitute
  3989.          royalty-free sophisticated file-access systems, like BTRIEVE by
  3990.          SoftCraft, could be a component of a DB-SHAREWARE product, because
  3991.          intelligent use of key file access systems can make a program perform
  3992.          as if it was a program dependent on a network model database manager.
  3993.  
  3994.      2.  The base package is distributed similar to SHAREWARE.  Parts of the
  3995.          code may be copyrighted software by the involved author and other
  3996.          parts may be public-domain coded subroutines.  Due recognition is
  3997.          given to any public domain code utilized.  Anyone is allowed to sell
  3998.          or freely give away wholly unmodified copies of the DB-SHAREWARE base
  3999.          software diskette.  DB-SHAREWARE  does not allow distribution of any
  4000.          modified software copies, nor source files, nor printed copies of the
  4001.          manual, without permission of the DB-SHAREWARE author.  Policy about
  4002.          manual copying may vary amongst authors.
  4003.  
  4004.      3.  The base package must be completely useable and practical without the
  4005.          need for the optional (by purchase) add-on package.  Those users who
  4006.          like the base package and want the luxury optional program features
  4007.          provided by the add-on package, can register with the software author
  4008.          and receive the add-on package and several other benefits.
  4009.  
  4010.          However, the base package must be good enough on its own merit to
  4011.          generate a widespread public enthusiasm for it and be able to sustain
  4012.          widespread copying and cheap or free distribution of it.  The base
  4013.          package is NOT to be viewed as a demo software product.  The add-on
  4014.          package provides only luxury features, not needed to functionally use
  4015.          the base package in a practical manner.
  4016.  
  4017.      4.  A DB-SHAREWARE add-on software diskette will only be distributed by
  4018.          the author or legally contracted distributors.  A harmless, but gen-
  4019.           DB-SHAREWARE PROGRAM         Copyright 1986 R.H. Martin          P.
  4020.      4
  4021.  
  4022.  
  4023.          erally persuasive security measure will be used to prevent
  4024.          unauthorized distribution of a DB-SHAREWARE add-on software diskette.
  4025.  
  4026.          The diskette will contain in an encrypted manner, the customer's name
  4027.          and serial number, which will become encryptically embedded in any
  4028.          and all user databases which have the add-on program ran against it.
  4029.          Thereafter, everytime any base DB-SHAREWARE program or add-on DB-
  4030.          SHAREWARE program is ran against that user's database, the decrypted
  4031.          user's name will appear on the screen and printouts.  DBS-KAT uses
  4032.          the following manner.  ("XYZ" stands for the DB-SHAREWARE database
  4033.          name.)
  4034.  
  4035.        *********************************************************************
  4036.              XYZ Database of: John Q. Owner                    S/N 99999999.
  4037.        *********************************************************************
  4038.  
  4039.          Although, some unscrupulous persons may still copy an add-on DB-
  4040.          SHAREWARE program, they will have to put up with their computer
  4041.          screen and printouts advertising the fact that they are unscrupulous.
  4042.          Any known instances of copyright violations of a DB-SHAREWARE add-on
  4043.          program diskette should be reported to the software author.
  4044.  
  4045.          Some dishonest persons may order this year's upgrade add-on module
  4046.          and their friend might order next year's add-on module, and then both
  4047.          might share programs, except that one runs the other's programs in
  4048.          reverse order so that finally one's own name gets embedded in their
  4049.          individual's DB-SHAREWARE database.  To disallow this, an add-on DB-
  4050.          SHAREWARE program will only re-update its embedded owner's name, if
  4051.          the add-on version number is newer than the last re-update embedding.
  4052.  
  4053.      5.  Each DB-SHAREWARE software author is independent of other DB-
  4054.          SHAREWARE software authors, unless specifically stated.  The quality
  4055.          and reputation of each DB-SHAREWARE software product reflects only
  4056.          upon the responsible individual author.
  4057.  
  4058.      6.  DB-SHAREWARE add-on software will be minimally priced, rarely if ever
  4059.          going over a two digit price figure for any personal computer
  4060.          application.  If the DB-SHAREWARE targed audience is small, a DB-
  4061.          SHAREWARE developer can sustain one's revenue needs through offering
  4062.          multiple, inxpensive add-on software modules for a base DB-SHAREWARE
  4063.          software product.
  4064.  
  4065.      7.  DB-SHAREWARE authors should have a conscientious committment to
  4066.          upgrade both the base DB-SHAREWARE and DB-SHAREWARE add-on software
  4067.          whenever feedback from users indicate that deficiencies exist.  Any
  4068.          deficiency affecting functional use of the base package in a practi-
  4069.          cal manner, when resolved, should appear in the base DB-SHAREWARE
  4070.          product.
  4071.  
  4072.  
  4073.                                      PHILOSPHY
  4074.  
  4075.      Besides sharing the concepts behind SHAREWARE, DB-SHAREWARE has addi-
  4076.      tional concepts.  Software products revolving around a compiled-language
  4077.           DB-SHAREWARE PROGRAM         Copyright 1986 R.H. Martin          P.
  4078.      5
  4079.  
  4080.  
  4081.      drive database manager are typically applications that are many faceted.
  4082.      There are the basic facets which critically maintain and use the applica-
  4083.      tion and there are numerous "peaches and cream" facets which make the use
  4084.      of the application even more worthwhile.
  4085.  
  4086.      A DB-SHAREWARE software developer knows that one's development effort
  4087.      will be financially rewarded if one has developed a base package that
  4088.      people love to use and copy, because anyone who uses the base package
  4089.      long enough will eventually want and will likely get the add-on software.
  4090.      However, the secret to a software developer's success is to make the base
  4091.      package highly desirably useful in its base state, because otherwise the
  4092.      initiative to enthuasiastically use it and share that enthusiasm through
  4093.      copying and sharing it with others will not be there.  Without that
  4094.      enthusiasm over the base DB-SHAREWARE product, there will not be enough
  4095.      of a distribution spread and hence any derived registrations will be less
  4096.      than desired.
  4097.  
  4098.      The above formula is a "you win-I win" formula for both the developer and
  4099.      the customer.  The customer gets a very useful base product free (or
  4100.      nearly free, if an intermediate distributor charges a handling fee) and
  4101.      is able to get add-on features direct from the developer, or an author-
  4102.      ized distributor, for minimal costs.  The developer wins because a
  4103.      widespread enthusiasm of one's base product will naturally be followed by
  4104.      numerous registrations.  The developer is protected from widespread copy-
  4105.      ing of the add-on diskettes, because of the security protection device.
  4106.      The honest customer is not hassled by the security protection, because
  4107.      infinite number of backup copies can be made, and the software employs no
  4108.      floppy-dependent mechanisms.
  4109.  
  4110.      Either party (user and author) is only going to win in this situation if
  4111.      the other party is allowed to win.  Thus, the challenge goes out to
  4112.      future DB-SHAREWARE developers: "Don't put out anything but an excellent
  4113.      base product!"   If the public's feedback to the base DB-SHAREWARE pro-
  4114.      duct is less than enthusiastic, improvements deserve to be put in the
  4115.      base DB-SHAREWARE product, not necessarily the DB-SHAREWARE add-on
  4116.      modules.
  4117.  
  4118.  
  4119.                         LIMITATION OF DB-SHAREWARE COVERAGE
  4120.  
  4121.      Not all data base dependent software lends itself to the DB-SHAREWARE
  4122.      concept.  Complicated software requiring accompanying audio visual train-
  4123.      ing material, and implementation or maintenance assistance by local con-
  4124.      sultants are two obvious types of software beyond the applicable range of
  4125.      the DB-SHAREWARE concept.  Software easily able to be a success in a con-
  4126.      ventional commercial manner would be foolish to distribute in a DB-
  4127.      SHAREWARE manner.
  4128.  
  4129.      DB-SHAREWARE makes sense for those database dependent applications that
  4130.      are simple to use and which would be overpriced and undersold if sold via
  4131.      conventional methods.  It also makes sense for cash-starved start-up com-
  4132.      panies.
  4133.           DB-SHAREWARE PROGRAM         Copyright 1986 R.H. Martin          P.
  4134.      6
  4135.  
  4136.  
  4137.